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


IRepresentationWorkspaceExtension.OpenRepresentationClass Method (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.OpenRepresentationClass Method
ArcGIS Developer Help

IRepresentationWorkspaceExtension.OpenRepresentationClass Method

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

Product Availability

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

Remarks

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.

See Also

IRepresentationWorkspaceExtension Interface