This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPUtilities Interface > IGPUtilities.FindMapLayer2 Method (ArcObjects .NET 10.4 SDK) |
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