This document is archived and information here might be outdated.  Recommended version.


IRepresentation.RuleID Property (ArcObjects .NET 10.4 SDK)
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