This document is archived and information here might be outdated.  Recommended version.


IGPUtilities.FindMapLayer2 Method (ArcObjects .NET 10.4 SDK)
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