Call this member function to convert the type of VARIANT value in this COleVariant object to the type specified by vartype.
void ChangeType( VARTYPE vartype, LPVARIANT pSrc = NULL );
| Header file: | Afxdisp.h | 
| Platforms: | |
| Versions: | 2.0 and later | 
| Complete documentation: | Visual C++ documentation | 
COleVariant Overview, COleVariant Member Functions, Automation Types, COleVariant::operator =