_variant_t::SetString

Microsoft Specific

void SetString( const char* pSrc ) throw( _com_error );

Parameter

pSrc

pointer to the character string

Remarks

Converts an ANSI character string to a Unicode BSTR string and assigns it to this _variant_t object.

_variant_t Overview

END Microsoft Specific