This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRepresentationRules Interface > IRepresentationRules.Exists Method (ArcObjects .NET 10.4 SDK) |
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,
VARIANT_BOOL* Exists
);
[C++]
Parameters ID [in] ID is a parameter of type long Exists [out, retval] Exists is a parameter of type VARIANT_BOOL
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.