This document is archived and information here might be outdated.  Recommended version.

IValidation.RulesByField Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IV > IValidation Interface > IValidation.RulesByField Property
ArcGIS Developer Help

IValidation.RulesByField Property

The rules associated with the attribute.

[Visual Basic .NET]
Public Function get_RulesByField ( _
    ByVal FieldName As String _
) As IEnumRule
public IEnumRule get_RulesByField (
    string FieldName
HRESULT get_RulesByField(
  BSTR FieldName,
  IEnumRule** Rules
FieldName [in]

FieldName is a parameter of type BSTR Rules [out, retval]
Rules is a parameter of type IEnumRule**

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


RulesByField is a property that returns a IEnumRule object that contains all of the rules associated with the FieldName parameter passed to this property for the given object class.

See Also

IValidation Interface