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


IRepresentationRules.Exists Method (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.Exists Method
ArcGIS Developer Help

IRepresentationRules.Exists Method

Checks whether the given representation rule exists in the collection.

[Visual Basic .NET]
Public Function Exists ( _
    ByVal ID As Integer _
) As Boolean
[C#]
public bool Exists (
    int ID
);
[C++]
HRESULT Exists(
  long ID
);
[C++]
Parameters
ID [in]

ID is a parameter of type long

Product Availability

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

Remarks

Exists method can be used to check for the availability of a specific representation rule within a RepresentationRules object before assigning it to a feature representation.

See Also

IRepresentationRules Interface