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
DomainName
The domain name associated with the attribute rule.
string DomainName { get; set; }
Property Value
FieldName
The field name associated with the attribute rule.
string FieldName { get; set; }
Property Value
Helpstring
string Helpstring { get; set; }
Property Value
ID
int ID { get; set; }
Property Value
SubtypeCode
The subtype code.
int SubtypeCode { get; set; }
Property Value
Type
esriRuleType Type { get; }
Property Value
Methods
Validate(IRow, out string)
Validates the rule.
bool Validate(IRow Row, out string ErrorMessage)