共用方式為


CStringRefElementTraits::CompareElements

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

static bool CompareElements(
   INARGTYPE element1,
   INARGTYPE element2 
) throw( );

Parameters

  • element1
    The first string element.

  • element2
    The second string element.

Return Value

Returns true if the elements are equal, false otherwise.

Requirements

Header: atlcoll.h

See Also

Concepts

CStringRefElementTraits Class

CStringRefElementTraits Members

CStringRefElementTraits::CompareElementsOrdered