This document is archived and information here might be outdated. Recommended version. |
Rule ID.
[Visual Basic .NET]
Public Property RuleID As Integer
[C#]
public int RuleID {get; set;}
[C++]
HRESULT get_RuleID(
System.Int32* 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).