This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPUtilities Interface > IGPUtilities.MakeGPLayerFromLayer Method (ArcObjects .NET 10.4 SDK) |
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