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


IWorkspaceFactory.IsWorkspace Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

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,
  VARIANT_BOOL* IsWorkspace
);
[C++]

Parameters fileName [in] fileName is a parameter of type BSTR IsWorkspace [out, retval] IsWorkspace is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IWorkspaceFactory Interface

.NET Related Topics

Performing a spatial analysis operation using objects