System::Collections::Generic::IComparer::Compare method

IComparer::Compare method

Comparison function.

virtual int System::Collections::Generic::IComparer<T>::Compare(args_type x, args_type y) const =0
ParameterTypeDescription
xargs_typeFirst object to compare.
yargs_typeSecond 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.

See Also