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


IGPLayerSupport.MakeGPLayer Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPLayerSupport.MakeGPLayer Method

Makes a GPLayer from a layer.

[Visual Basic .NET]
Public Function MakeGPLayer ( _
    ByVal pLayer As ILayer _
) As IGPLayer
[C#]
public IGPLayer MakeGPLayer (
    ILayer pLayer
);
[C++]
HRESULT MakeGPLayer(
  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

IGPLayerSupport Interface