COleSafeArray::operator =

These overloaded assignment operators 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.

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

Syntax

COleSafeArray& operator =( const COleSafeArray& saSrc );

COleSafeArray& operator =( const VARIANT& varSrc );

COleSafeArray& operator =( LPCVARIANT pSrc );

COleSafeArray& operator =( const COleVariant& varSrc );

See Also

COleVariant, VARIANT, VariantCopy, SAFEARRAY