This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRepresentationWorkspaceExtension Interface > IRepresentationWorkspaceExtension.FeatureClassHasRepresentations Property (ArcObjects .NET 10.4 SDK) |
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
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.