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


IWorkspaceExtension2.Workspace Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceExtension2 Interface > IWorkspaceExtension2.Workspace Property
ArcGIS Developer Help

IWorkspaceExtension2.Workspace Property

The workspace associated with this Workspace Extension.

[Visual Basic .NET]
Public ReadOnly Property Workspace As IWorkspace
[C#]
public IWorkspace Workspace {get;}
[C++]
HRESULT get_Workspace(
  IWorkspace** Workspace
);
[C++]
Parameters
Workspace [out, retval]

Workspace is a parameter of type IWorkspace**

Product Availability

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

Remarks

The Workspace property returns a reference to the workspace associated with the extension.

See Also

IWorkspaceExtension2 Interface