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


IRepresentationRules.Rule Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRepresentationRules Interface > IRepresentationRules.Rule Property
ArcGIS Developer Help

IRepresentationRules.Rule Property

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*

Product Availability

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

Remarks

Use Rule property to get access to a single representation rule object present for a representation class.

See Also

IRepresentationRules Interface