COleSafeArray::operator =

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.

Syntax

COleSafeArray& operator =( const COleSafeArray& saSrc );

COleSafeArray& operator =( const VARIANT& varSrc );

COleSafeArray& operator =( LPCVARIANT pSrc );

COleSafeArray& operator =( const COleVariant& varSrc );

At a Glance

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

See Also

COleSafeArray Overview, COleSafeArray Operators, Structures, COleVariant, VARIANT, VariantCopy, SAFEARRAY