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


IWorkspaceFactory.IsWorkspace Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceFactory Interface > IWorkspaceFactory.IsWorkspace Method
ArcGIS Developer Help

IWorkspaceFactory.IsWorkspace Method

True if the specified file identifies a workspace supported by the workspace factory.

[Visual Basic .NET]
Public Function IsWorkspace ( _
    ByVal fileName As String _
) As Boolean
[C#]
public bool IsWorkspace (
    string fileName
);
[C++]
HRESULT IsWorkspace(
  BSTR fileName
);
[C++]
Parameters
fileName [in]

fileName is a parameter of type BSTR

Product Availability

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

See Also

IWorkspaceFactory Interface