The get_Item method locates the VARIANT at a specified index, copies the contents of this VARIANT to a new VARIANT, and returns the address of the new VARIANT.
HRESULT get_Item(
longnIndex,// in
VARIANT *pvarGet// out
);
<commerce.h>
The get_Item method returns one of the following values.
Value | Meaning |
---|---|
E_POINTER | The pvarGet VARIANT is a NULL pointer. |
DISP_E_BADINDEX | The nIndex parameter specifies a value that is out of range. |
S_OK | The method succeeded. |