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


IGPUtilities.FindMapLayer 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.FindMapLayer Method
ArcGIS Developer Help

IGPUtilities.FindMapLayer Method

Returns a layer with the given name.

[Visual Basic .NET]
Public Function FindMapLayer ( _
    ByVal Name As String _
) As ILayer
[C#]
public ILayer FindMapLayer (
    string Name
);
[C++]
HRESULT FindMapLayer(
  BSTR Name
);
[C++]
Parameters
Name [in]

Name is a parameter of type BSTR

Product Availability

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

See Also

IGPUtilities Interface