This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceFactory Interface > IWorkspaceFactory.ContainsWorkspace Method (ArcObjects .NET 10.4 SDK) |
Indicates if parentDirectory contains a valid workspace, or is a valid file-system workspace.
[Visual Basic .NET] Public Function ContainsWorkspace ( _ ByVal parentDirectory As String, _ ByVal fileNames As IFileNames _ ) As Boolean
[C#] public bool ContainsWorkspace ( string parentDirectory, IFileNames fileNames );
[C++]
HRESULT ContainsWorkspace(
BSTR parentDirectory,
IFileNames* fileNames,
VARIANT_BOOL* ContainsWorkspace
);
[C++]
Parameters parentDirectory [in] parentDirectory is a parameter of type BSTR fileNames [in]
fileNames is a parameter of type IFileNames ContainsWorkspace [out, retval] ContainsWorkspace is a parameter of type VARIANT_BOOL