This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > ID > IDataLayer2 Interface > IDataLayer2.InWorkspace Method (ArcObjects .NET 10.4 SDK) |
Returns TRUE if the layer is in the specified workspace.
[Visual Basic .NET] Public Function InWorkspace ( _ ByVal Workspace As IWorkspace _ ) As Boolean
[C#] public bool InWorkspace ( IWorkspace Workspace );
[C++]
HRESULT InWorkspace(
IWorkspace* Workspace,
VARIANT_BOOL* InWorkspace
);
[C++]
Parameters Workspace [in]
Workspace is a parameter of type IWorkspace InWorkspace [out, retval] InWorkspace is a parameter of type VARIANT_BOOL