Returns a string that represents the given VARTYPE value.
HRESULT GetStringForVarType( VARTYPE vt, TYPEDESC* ptdescArrayType, BSTR* pbstr );
- vt
[in] VARTYPE to represent as a string.
- ptdescArrayType
[in] Array of structures that describes types.
- pbstr
[out] String representing vt.
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. |
The method returns a string that represents the given VARTYPE value.