| title |
_variant_t::SetString | Microsoft Docs |
| ms.custom |
|
| ms.date |
11/04/2016 |
| ms.reviewer |
|
| ms.suite |
|
| ms.technology |
|
| ms.tgt_pltfrm |
|
| ms.topic |
language-reference |
| f1_keywords |
_variant_t::SetString |
_variant_t.SetString |
|
| dev_langs |
|
| helpviewer_keywords |
|
| ms.assetid |
816b08e5-6830-46ca-b3d7-7689308b3be3 |
| caps.latest.revision |
6 |
| author |
mikeblome |
| ms.author |
mblome |
| manager |
ghogen |
| translation.priority.ht |
cs-cz |
de-de |
es-es |
fr-fr |
it-it |
ja-jp |
ko-kr |
pl-pl |
pt-br |
ru-ru |
tr-tr |
zh-cn |
zh-tw |
|
Microsoft Specific
Assigns a string to this _variant_t object.
void SetString(
const char* pSrc
);
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.
END Microsoft Specific
_variant_t Class