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.