COleVariant::ChangeType

Call this member function to convert the type of VARIANT value in this COleVariant object to the type specified by vartype.

Syntax

void ChangeType( VARTYPE vartype, LPVARIANT pSrc = NULL );

At a Glance

Header file: Afxdisp.h
Platforms:
Versions: 2.0 and later
Complete documentation: Visual C++ documentation

See Also

COleVariant Overview, COleVariant Member Functions, Automation Types, COleVariant::operator =