Compartilhar via


COleSafeArray::operator =

These overloaded assignment operators copy the source value into this COleSafeArray object.

COleSafeArray& operator =( 
   const COleSafeArray& saSrc  
); 
COleSafeArray& operator =( 
   const VARIANT& varSrc  
); 
COleSafeArray& operator =( 
   LPCVARIANT pSrc  
); 
COleSafeArray& operator =( 
   const COleVariant& varSrc  
);

Remarks

A brief description of each operator follows:

  • operator =( saSrc )   Copies an existing COleSafeArray object into this object.

  • operator =( varSrc )   Copies an existing VARIANT or COleVariant array into this object.

  • operator =( pSrc )   Copies the VARIANT array object accessed by pSrc into this object.

Requirements

Header: afxdisp.h

See Also

Reference

COleSafeArray Class

Hierarchy Chart