This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPUtilities Interface > IGPUtilities.MakeGPLayer Method (ArcObjects .NET 10.4 SDK) |
Creates a geoprocessing layer object from the given catalog path and of the given geoprocessing data type.
[Visual Basic .NET] Public Function MakeGPLayer ( _ ByVal catalogPath As String, _ ByVal pDataType As IGPDataType _ ) As IGPLayer
[C#] public IGPLayer MakeGPLayer ( string catalogPath, IGPDataType pDataType );
[C++]
HRESULT MakeGPLayer(
BSTR catalogPath,
IGPDataType* pDataType,
IGPLayer** ppGPLayer
);
[C++]
Parameters catalogPath [in] catalogPath is a parameter of type BSTR pDataType [in]
pDataType is a parameter of type IGPDataType ppGPLayer [out, retval]
ppGPLayer is a parameter of type IGPLayer