This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceFactory Interface > IWorkspaceFactory.GetClassID Method (ArcObjects .NET 10.4 SDK) |
The class ID of the WorkspaceFactory.
[Visual Basic .NET] Public Function GetClassID ( _ ) As UID
[C#] public UID GetClassID ( );
[C++]
HRESULT GetClassID(
IUID** ClassID
);
[C++]
Parameters ClassID [out, retval]
ClassID is a parameter of type IUID
GetClassID returns the unique identifier for the workspace factory. You can use this to distinguish different versions of the same type of factory, for example, whether you are working with an SDEWorkspace, FileGDBWorkspace or AccessWorkspace factory.