_ItemComparer.AreObjectsEqual(const StringType &,const StringType &) (Compact 2013)
3/28/2014
This method determines whether the specified text strings are equal to each other.
Syntax
template<>
bool AreObjectsEqual(
const StringType & pString,
const StringType & pStringToCompare)
Parameters
- pString
[in] A text string of type WCHAR* in the collection.
- pStringToCompare
[in] Another text string of type WCHAR* to compare with the text string in the collection.
Return Value
Returns true if the specified strings are equal; otherwise, returns false.
Remarks
This method implementation uses the wcscmp function to determine whether the strings are equal.
In a derived class, you can provide a customized implementation to determine whether two strings are equal.
Requirements
Header |
XRCollection.h |