This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPUtilities Interface > IGPUtilities.UnpackGPValue Method (ArcObjects .NET 10.4 SDK) |
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
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.