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


IValidation.RulesByField Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IValidation.RulesByField Property

The rules associated with the attribute.

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

Parameters 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.

Description

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