ArcObjects Library Reference (GeoDatabase)  

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,
  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

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