System::Collections::Generic::DefaultComparer::Compare method

DefaultComparer::Compare method

RTTI information.

virtual int System::Collections::Generic::DefaultComparer<T>::Compare(typename ThisType::args_type x, typename ThisType::args_type y) const override
ParameterTypeDescription
xtypename ThisType::args_typeLHS operand.
ytypename ThisType::args_typeRHS operand.

ReturnValue

Negative value if x is less than y, 0 if operands are equal and positive value otherwise.

Remarks

Actual data comparison.

See Also