This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRepresentationRules Interface > IRepresentationRules.Rule Property (ArcObjects .NET 10.5 SDK) |
The representation rule indicated by its ID.
[Visual Basic .NET] Public Function get_Rule ( _ ByVal ID As Integer _ ) As IRepresentationRule
[Visual Basic .NET] Public Sub set_Rule ( _ ByVal ID As Integer, _ ByVal repRule As IRepresentationRule _ )
[C#] public IRepresentationRule get_Rule ( int ID );
[C#] public void set_Rule ( int ID, IRepresentationRule repRule );
[C++]
HRESULT get_Rule(
long ID,
IRepresentationRule** repRule
);
[C++]
HRESULT put_Rule(
long ID,
IRepresentationRule* repRule
);
[C++]
Parameters ID [in] ID is a parameter of type long repRule [out, retval]
repRule is a parameter of type IRepresentationRule ID [in] ID is a parameter of type long repRule [in]
repRule is a parameter of type IRepresentationRule
Use Rule property to get access to a single representation rule object present for a representation class.