COleVariant

The COleVariant class encapsulates the VARIANT data type. This data type is used in Automation. Specifically, the DISPPARAMS structure contains a pointer to an array of VARIANT structures. A DISPPARAMS structure is used to pass parameters to IDispatch::Invoke. COleVariant is derived from the VARIANT structure. This means you can pass a COleVariant in a parameter that calls for a VARIANT.

At a Glance

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

See Also

COleVariant Member Functions, COleVariant Operators, Automation Types, VARIANT, DISPPARAMS, IDispatch::Invoke