COleVariant

This 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: H/PC 2.0, H/PC Pro
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

See Also

VARIANT, DISPPARAMS, Automation Types