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


IGPUtilities.MakeGPLayer Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPUtilities Interface > IGPUtilities.MakeGPLayer Method
ArcGIS Developer Help

IGPUtilities.MakeGPLayer Method

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
);
[C++]
Parameters
catalogPath [in]

catalogPath is a parameter of type BSTR pDataType [in]
pDataType is a parameter of type IGPDataType*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGPUtilities Interface