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

IGPLayerSupport.MakeGPLayer Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPLayerSupport Interface > IGPLayerSupport.MakeGPLayer Method
ArcGIS Developer Help

IGPLayerSupport.MakeGPLayer Method

Makes a GPLayer from a layer.

[Visual Basic .NET]
Public Function MakeGPLayer ( _
    ByVal pLayer As ILayer _
) As IGPLayer
public IGPLayer MakeGPLayer (
    ILayer pLayer
  ILayer* pLayer
pLayer [in]

pLayer is a parameter of type ILayer*

Product Availability

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

See Also

IGPLayerSupport Interface