ArcObjects Library Reference (GeoDatabase)  

IRepresentation.RuleID Property

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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).

 

See Also

IRepresentation Interface