Share via


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

Reference

CStringRefElementTraits Class

CStringRefElementTraits::CompareElementsOrdered

Other Resources

CStringRefElementTraits Members