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


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

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

pLayer is a parameter of type ILayer*

Product Availability

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

See Also

IGPUtilities Interface