[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Implement to compare two arguments for sorting.

Namespace: Db4objects.Db4o.Query
Assembly:   Db4objects.Db4o (in Db4objects.Db4o.dll)

Syntax

Visual Basic (Declaration)
Function Compare ( _
	first As Object, _
	second As Object _
) As Integer
C#
int Compare (
	Object first,
	Object second
)
Visual C++
int Compare (
	Object^ first, 
	Object^ second
)

Parameters

first
System.Object
second
System.Object

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.