ArcObjects Library Reference  (Carto)    

IDataLayer2.InWorkspace Method

Returns TRUE if the layer is in the specified workspace.

[Visual Basic 6.0]
Function InWorkspace(
    ByVal Workspace As IWorkspace _
) As Boolean
[Visual Basic .NET]
Public Function InWorkspace ( _
    ByVal Workspace As IWorkspace _
) As Boolean
public bool InWorkspace (
    IWorkspace Workspace
public Boolean inWorkspace (
    IWorkspace Workspace
HRESULT InWorkspace(
  IWorkspace* Workspace,
  VARIANT_BOOL* InWorkspace


Workspace [in]

  Workspace is a parameter of type IWorkspace

InWorkspace [out, retval]

  InWorkspace is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IDataLayer2 Interface