ArcObjects Library Reference (Geoprocessing)  

IGPUtilities.FindMapLayer2 Method

Returns a layer and geoprocessing layer with the given name.

[Visual Basic .NET]
Public Function FindMapLayer2 ( _
    ByVal Name As String, _
    ByRef ppLayer As ILayer _
) As IGPLayer
[C#]
public IGPLayer FindMapLayer2 (
    string Name,
    ref ILayer ppLayer
);
[C++]
HRESULT FindMapLayer2(
  BSTR Name,
  ILayer** ppLayer,
  IGPLayer** ppGPLayer
);
[C++]

Parameters

Name [in]   Name is a parameter of type BSTR ppLayer [out]

  ppLayer is a parameter of type ILayer

ppGPLayer [out, retval]

  ppGPLayer is a parameter of type IGPLayer

Product Availability

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

See Also

IGPUtilities Interface