ArcObjects Library Reference  (Geoprocessing)    

IGPUtilities.FindMapLayer2 Method

Returns a layer and geoprocessing layer with the given name.

[Visual Basic 6.0]
Function FindMapLayer2(
    ByVal Name As String, _
    ppLayer As ILayer _
) As IGPLayer
[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
);
[Java]
public IGPLayer findMapLayer2 (
    String Name,
    ILayer ppLayer
)
throws
    IOException,
    AutomationException
[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

 


Feedback Send feedback on this page