This document is archived and information here might be outdated. Recommended version. |
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
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.