CComVariant::ChangeType

This method converts the CComVariant object to a new type.

Syntax

HRESULT ChangeType( VARTYPE vtNew, const VARIANT* pSrc = NULL);

At a Glance

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

See Also

CComVariant Overview, CComVariant Methods, VARIANT, VARTYPE