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


IGPUtilities.DecodeLayer Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPUtilities.DecodeLayer Method

Returns the layer object specified by the given geoprocessing value object.

[Visual Basic .NET]
Public Function DecodeLayer ( _
    ByVal pValue As IGPValue _
) As ILayer
[C#]
public ILayer DecodeLayer (
    IGPValue pValue
);
[C++]
HRESULT DecodeLayer(
  IGPValue* pValue,
  ILayer** ppLayer
);
[C++]

Parameters pValue [in]
pValue is a parameter of type IGPValue ppLayer [out, retval]
ppLayer is a parameter of type ILayer

Product Availability

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

See Also

IGPUtilities Interface