ArcObjects Library Reference (Geoprocessing)  

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,
  IGPValue** ppValue
);
[C++]

Parameters

pInput [in]   pInput is a parameter of type LPUNKNOWN ppValue [out, retval]

  ppValue is a parameter of type IGPValue

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