This document is archived and information here might be outdated. Recommended version. |
Sets the given geoprocessing value into the given parameter/variable.
[Visual Basic .NET] Public Sub PackGPValue ( _ ByVal pValue As IGPValue, _ ByVal pInput As Object _ )
[C#] public void PackGPValue ( IGPValue pValue, object pInput );
[C++]
HRESULT PackGPValue(
IGPValue* pValue,
LPUNKNOWN pInput
);
[C++] Parameters pValue [in]
pValue is a parameter of type IGPValue* pInput [in]
pInput is a parameter of type IUnknown
The PackGPValue method is used to assign, for example an output value to a specific function parameter. such as a derived output. A code sample is included below. For an extended code sample refer to the Validate Method section of the Building Geoprocessing Functions technical document.