void ChangeType( VARTYPE vartype, LPVARIANT pSrc = NULL );
Parameters
vartype
The VARTYPE for this COleVariant object.
pSrc
A pointer to the VARIANT object to be converted. If this value is NULL, this COleVariant object is used as the source for the conversion.
Remarks
Call this function to convert the type of variant value in this COleVariant object.
For more information, see the VARIANT, VARTYPE, and VariantChangeType entries in the Win32 SDK OLE Programmer’s Reference.
COleVariant Overview | Class Members | Hierarchy Chart
See Also COleVariant::operator =