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


IGPUtilities.MakeGPLayerFromLayer Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPUtilities.MakeGPLayerFromLayer Method

Creates a geoprocessing layer object based on the given layer object.

[Visual Basic .NET]
Public Function MakeGPLayerFromLayer ( _
    ByVal pLayer As ILayer _
) As IGPLayer
[C#]
public IGPLayer MakeGPLayerFromLayer (
    ILayer pLayer
);
[C++]
HRESULT MakeGPLayerFromLayer(
  ILayer* pLayer,
  IGPLayer** ppGPLayer
);
[C++]

Parameters pLayer [in]
pLayer 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