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


IGPUtilities.UnpackGPValue 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.UnpackGPValue Method
ArcGIS Developer Help

IGPUtilities.UnpackGPValue Method

Returns the geoprocessing value object from the given parameter, variable, or value object.

[Visual Basic .NET]
Public Function UnpackGPValue ( _
    ByVal pInput As Object _
) As IGPValue
[C#]
public IGPValue UnpackGPValue (
    object pInput
);
[C++]
HRESULT UnpackGPValue(
  LPUNKNOWN pInput
);
[C++]
Parameters
pInput [in]

pInput is a parameter of type IUnknown

Product Availability

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

Remarks

The UnpackGPValue method is used to access the value from a specific function parameter. A code sample is included below. For an extended code sample refer to the Validate Method section of the Building Geoprocessing Functions technical document.

See Also

IGPUtilities Interface