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


IRepresentationWorkspaceExtension.FeatureClassHasRepresentations Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRepresentationWorkspaceExtension Interface > IRepresentationWorkspaceExtension.FeatureClassHasRepresentations Property
ArcGIS Developer Help

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,
  Boolean* hasRep
);
[C++]
Parameters
FeatureClass [in]

FeatureClass is a parameter of type IFeatureClass* hasRep [out, retval]
hasRep is a parameter of type 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