ArcObjects Library Reference  (GeoDatabase)    

IWorkspaceFactory.IsWorkspace Method

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

[Visual Basic 6.0]
Function IsWorkspace(
    ByVal fileName As String _
) As Boolean
[Visual Basic .NET]
Public Function IsWorkspace ( _
    ByVal fileName As String _
) As Boolean
[C#]
public bool IsWorkspace (
    string fileName
);
[Java]
public Boolean isWorkspace (
    String fileName
)
throws
    IOException,
    AutomationException
[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

Example

IWorkspaceFactory IsWorkspace Example

 


Feedback Send feedback on this page