The put_Value method adds a new element to a Dictionary, or reinitializes an existing element.
HRESULT put_Value(
BSTRbstrName,// in
VARIANTvarNew// in
);
<commerce.h>
Value | Meaning |
---|---|
S_OK | The new element was added, or the value of an existing element was changed. |
E_OUTOFMEMORY | Memory could not be allocated for a new element. |