This method converts the CComVariant object to a new type.
HRESULT ChangeType( VARTYPE vtNew, const VARIANT* pSrc = NULL);
| Header file: | atlbase.h |
| Platforms: | |
| Versions: | 2.0 and later |
| Complete documentation: | Visual C++ documentation |
CComVariant Overview, CComVariant Methods, VARIANT, VARTYPE