Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
Visual C++
Reference
C/C++ Languages
_variant_t Class
Member Functions
 _variant_t::ChangeType
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Visual C++ Language Reference
_variant_t::ChangeType

Microsoft Specific

Changes the type of the _variant_t object to the indicated VARTYPE.

void ChangeType(
   VARTYPE vartype,
   const _variant_t* pSrc = NULL 
);

Parameters

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

Reference

_variant_t Class

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker