Returns a string that represents the given VARIANT value.
HRESULT GetStringForVariant( VARIANT* pvar, ULONG nRadix, BSTR* pbstrValue );
- pvar
[in] VARIANT to represent as a string.
- nRadix
[in] Radix to use for numeric values.
- pbstrValue
[out] String representing pvar.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Value | Description |
---|---|
S_OK | The method succeeded. |
This method returns a string that represents the given variant value.