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


IGPUtilities.FindMapLayer2 Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPUtilities Interface > IGPUtilities.FindMapLayer2 Method
ArcGIS Developer Help

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
);
[C++]
Parameters
Name [in]

Name is a parameter of type BSTR ppLayer [out]
ppLayer is a parameter of type ILayer**

Product Availability

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

See Also

IGPUtilities Interface