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


IGPLayerSupport.MakeGPLayer Method (ArcObjects .NET 10.5 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,
  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

IGPLayerSupport Interface