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


IGPUtilities.MakeGPLayer Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

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,
  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

Product Availability

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

See Also

IGPUtilities Interface