Interface IAttributeRule

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

Provides access to members that return, modify and validate attribute rules.

[Guid("9ED62772-475D-11D2-9932-0000F80372B4")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IAttributeRule : IRule

Remarks

IAttributeRule is for setting rules based on attributes for object classes. They describe the legal values for a field in an object class. For example, you might set an attribute rule that specifies wood poles can only be within a certain height range. You do this by establishing a range domain for pole heights and then using an attribute rule to apply this domain to a particular field in the pole object class, probably the height field.

Properties

Category

int Category { get; set; }

Property Value

int

DomainName

The domain name associated with the attribute rule.

string DomainName { get; set; }

Property Value

string

FieldName

The field name associated with the attribute rule.

string FieldName { get; set; }

Property Value

string

Helpstring

string Helpstring { get; set; }

Property Value

string

ID

int ID { get; set; }

Property Value

int

SubtypeCode

The subtype code.

int SubtypeCode { get; set; }

Property Value

int

Type

esriRuleType Type { get; }

Property Value

esriRuleType

Methods

Validate(IRow, out string)

Validates the rule.

bool Validate(IRow Row, out string ErrorMessage)

Parameters

Row IRow
ErrorMessage string

Returns

bool