title | ms.custom | ms.date | ms.reviewer | ms.suite | ms.technology | ms.tgt_pltfrm | ms.topic | f1_keywords | dev_langs | helpviewer_keywords | ms.assetid | caps.latest.revision | author | ms.author | manager | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_variant_t::ChangeType | Microsoft Docs |
11/04/2016 |
|
language-reference |
|
|
|
829d2eeb-3338-4a88-9dce-0ca145f47aac |
6 |
mikeblome |
mblome |
ghogen |
Microsoft Specific
Changes the type of the _variant_t
object to the indicated VARTYPE.
void ChangeType(
VARTYPE vartype,
const _variant_t* pSrc = NULL
);
vartype
The VARTYPE for this _variant_t
object.
pSrc
A pointer to the _variant_t
object to be converted. If this value is NULL, conversion is done in place.
This member function converts a _variant_t
object into the indicated VARTYPE. If pSrc
is NULL, the conversion is done in place, otherwise this _variant_t
object is copied from pSrc
and then converted.
END Microsoft Specific