_ItemComparer.AreObjectsEqual(const Type&,const Type&) (Compact 7)
3/12/2014
This method determines whether the specified objects are equal to each other.
Syntax
template<typename Type>
bool AreObjectsEqual(
const Type & Object,
const Type & ObjectToCompare)
Parameters
- Object
[in] An object of type Type in the collection.
- ObjectToCompare
[in] Another object of type Type to compare with the object in the collection.
Return Value
Returns true if the specified objects are equal; otherwise, returns false.
Remarks
This method implementation uses the == operator to determine whether the objects are equal. In a derived class, you can provide a customized implementation to determine whether two objects are equal.
Requirements
Header |
XRCollection.h |