다음을 통해 공유


CStringElementTraits::CompareElements

Call this static function to compare two string elements for equality.

static bool CompareElements( 
   INARGTYPE str1, 
   INARGTYPE str2  
);

Parameters

  • str1
    The first string element.

  • str2
    The second string element.

Return Value

Returns true if the elements are equal, false otherwise.

Requirements

Header: cstringt.h

See Also

Reference

CStringElementTraits Class

CStringElementTraits::CompareElementsOrdered

CStringElementTraitsI::CompareElements