Use these overloaded assignment operators to copy an array of values into a COleSafeArray object. The values to be copied can be a SAFEARRAY, a COleSafeArray, an array of VARIANTs, or an array of COleVariant objects.
COleSafeArray& operator =( const COleSafeArray& saSrc );
COleSafeArray& operator =( const VARIANT& varSrc );
COleSafeArray& operator =( LPCVARIANT pSrc );
COleSafeArray& operator =( const COleVariant& varSrc );
Header file: | Afxdisp.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
COleSafeArray Overview, COleSafeArray Operators, Structures, COleVariant, VARIANT, VariantCopy, SAFEARRAY