ArcObjects Library Reference (GeoDatabase)  

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