System::Collections::IComparer::Compare method

IComparer::Compare method

RTTI information.

virtual int System::Collections::IComparer::Compare(const SharedPtr<Object> &x, const SharedPtr<Object> &y) const =0
ParameterTypeDescription
xconst SharedPtr<Object>&First object to compare.
yconst SharedPtr<Object>&Second object to compare.

ReturnValue

Negative value if x is less than y; zero if they are equal; positive value if x is greater than y.

Remarks

Comparison function.

See Also