This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRepresentationWorkspaceExtension Interface > IRepresentationWorkspaceExtension.OpenRepresentationClass Method (ArcObjects .NET 10.5 SDK) |
Opens a representation class.
[Visual Basic .NET] Public Function OpenRepresentationClass ( _ ByVal Name As String _ ) As IRepresentationClass
[C#] public IRepresentationClass OpenRepresentationClass ( string Name );
[C++]
HRESULT OpenRepresentationClass(
BSTR Name,
IRepresentationClass** repClass
);
[C++]
Parameters Name [in] Name is a parameter of type BSTR repClass [out, retval]
repClass is a parameter of type IRepresentationClass
OpenRepresentationClass method can be used to open any existing feature class representation within a workspace given its name as a string. Use this method in conjuction with RepresentationClassNames property to open all representation classes defined within the workspace or with FeatureClassRepresentationNames property to get access to all representation classes corresponding to a single feature class within the workspace.
It is not necessary to provide fully qualified names as string arguments for opening SDE feature class representations.