System::Collections::Generic::IComparer::Compare メソッド

IComparer::Compare method

Comparison function.

virtual int System::Collections::Generic::IComparer<T>::Compare(args_type x, args_type y) const =0
パラメーター説明
xargs_type比較する最初のオブジェクト。
yargs_type比較する2番目のオブジェクト。

ReturnValue

xy 未満の場合は負の値、等しい場合はゼロ、xy より大きい場合は正の値です。

参照