ArcObjects Library Reference (Geoprocessing)  

IGPUtilities.PackGPValue Method

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 LPUNKNOWN

Product Availability

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

Remarks

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.

See Also

IGPUtilities Interface