ArcObjects Library Reference (GeoDatabase)  

IRepresentationWorkspaceExtension.FeatureClassHasRepresentations Property

Indicates if the feature class has representations.

[Visual Basic .NET]
Public Function get_FeatureClassHasRepresentations ( _
    ByVal FeatureClass As IFeatureClass _
) As Boolean
[C#]
public bool get_FeatureClassHasRepresentations (
    IFeatureClass FeatureClass
);
[C++]
HRESULT get_FeatureClassHasRepresentations(
  IFeatureClass* FeatureClass,
  VARIANT_BOOL* hasRep
);
[C++]

Parameters

FeatureClass [in]

  FeatureClass is a parameter of type IFeatureClass

hasRep [out, retval]   hasRep is a parameter of type VARIANT_BOOL

Product Availability

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

Remarks

Use FeatureClassHasRepresentations property to check whether a feature class contains representation classes or not before using the FeatureClassRepresentationNames property to retrieve a list of all representation class names that the feature class contains.

 

See Also

IRepresentationWorkspaceExtension Interface