Class AttributeRuleClass

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll
[ClassInterface(ClassInterfaceType.None)]
[Guid("54C085D0-84EB-11D2-AB61-000000000000")]
public class AttributeRuleClass : AttributeRule, IAttributeRule, IRule
Inheritance
AttributeRuleClass
Implements
Inherited Members

Constructors

AttributeRuleClass()

public AttributeRuleClass()

Explicit Interface Implementations

Category

The name associated with the validation rule.

virtual int Category { get; set; }

Returns

int

DomainName

The domain name associated with the attribute rule.

virtual string DomainName { get; set; }

Returns

string

FieldName

The field name associated with the attribute rule.

virtual string FieldName { get; set; }

Returns

string

Helpstring

The helpstring associated with the validation rule.

virtual string Helpstring { get; set; }

Returns

string

IAttributeRule_Category

virtual int IAttributeRule_Category { get; set; }

Returns

int

IAttributeRule_Helpstring

virtual string IAttributeRule_Helpstring { get; set; }

Returns

string

IAttributeRule_ID

virtual int IAttributeRule_ID { get; set; }

Returns

int

IAttributeRule_Type

virtual esriRuleType IAttributeRule_Type { get; }

Returns

esriRuleType

ID

The ID of the validation rule.

virtual int ID { get; set; }

Returns

int

Remarks

This property will always return -1 for rules in geodatabases created in versions of ArcGIS later than 9.3.1.

SubtypeCode

The subtype code.

virtual int SubtypeCode { get; set; }

Returns

int

Type

The type associated with the validation rule.

virtual esriRuleType Type { get; }

Returns

esriRuleType

Validate(IRow, out string)

Validates the rule.

virtual bool Validate(IRow Row, out string ErrorMessage)

Parameters

Row IRow
ErrorMessage string

Returns

bool