This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRepresentation Interface > IRepresentation.RuleID Property (ArcObjects .NET 10.4 SDK) |
Rule ID.
[Visual Basic .NET] Public Property RuleID As Integer
[C#] public int RuleID {get; set;}
[C++]
HRESULT get_RuleID(
long* ID
);
[C++]
HRESULT put_RuleID(
long ID
);
[C++]
Parameters ID [out, retval] ID is a parameter of type long ID [in] ID is a parameter of type long
Use RuleID property to change the representation rule for a feature representation. Setting this property to a different RuleID will not persist the change until UpdateFeature is called and the change for the feature is stored using IFeature::Store method.
If the RuleID does not exist in the collection of RepresentationRules object, then RuleID will return an esriRepresentationError (REP_E_INVALID_REP_RULE_ID).