IQueryComparator.

Compare(Object, Object) Method

Summary

Implement to compare two arguments for sorting.

Syntax

int Compare(Object first, Object second)

Remarks

Implement to compare two arguments for sorting. Return a negative value, zero, or a positive value if the first argument is smaller, equal or greater than the second.

Parameters

Name Type Description
first Object
second Object

Return Value

Type Description
int