This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceFactory Interface > IWorkspaceFactory.IsWorkspace Method (ArcObjects .NET 10.4 SDK) |
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