ArcObjects Library Reference  (GeoDatabase)    

IValidation.RulesByField Property

The rules associated with the attribute.

[Visual Basic 6.0]
Property RulesByField(
    ByVal FieldName As String _
) As IEnumRule
[Visual Basic .NET]
Public Function get_RulesByField ( _
    ByVal FieldName As String _
) As IEnumRule
[C#]
public IEnumRule get_RulesByField (
    string FieldName
);
[Java]
public IEnumRule getRulesByField (
    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

Example

IValidation__Rules