共用方式為


CSize::operator ==

Checks for equality between two sizes.

BOOL operator ==( 
   SIZE size  
) const throw( );

Remarks

Returns nonzero if the sizes are equal, otherwize 0.

Example

CSize sz1(135, 135);
CSize sz2(135, 135);

ASSERT(sz1 == sz2);

Requirements

Header: atltypes.h

See Also

Reference

CSize Class

Hierarchy Chart

CSize::operator !=