Summary
Implement to compare two arguments for sorting.
- Assembly
- Db4objects
.Db4o-2010 .dll - Namespace
- Db4objects
.Db4o .Query - Containing Type
- IQueryComparator
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 |