Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 673 Bytes

variant-t-setstring.md

File metadata and controls

34 lines (23 loc) · 673 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: _variant_t::SetString
_variant_t::SetString
11/04/2016
_variant_t::SetString
SetString method [C++]
816b08e5-6830-46ca-b3d7-7689308b3be3

_variant_t::SetString

Microsoft Specific

Assigns a string to this _variant_t object.

Syntax

void SetString(const char* pSrc);

Parameters

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

See also

_variant_t Class