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비교할 두 번째 객체.

ReturnValue

음수 값은 xy보다 작을 때; 0은 두 값이 같을 때; 양수 값은 xy보다 클 때.

또 보기