This document is archived and information here might be outdated. Recommended version. |
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
);
[C++] Parameters Name [in]
Name is a parameter of type BSTR
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.