COleSafeArray::operator ==

This operator compares two arrays (SAFEARRAY, VARIANT, COleVariant, or COleSafeArray arrays) and returns nonzero if they are equal; otherwise 0.

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

Remarks

Two arrays are equal if they have an equal number of dimensions, equal size in each dimension, and equal element values.

Requirements

Header: afxdisp.h

See Also

Reference

COleSafeArray Class

Hierarchy Chart

Other Resources

COleSafeArray Members