CaseInsensitiveComparer: Compare

Compare

Returns the comparison between two values.



 Public Function Compare(
	  ByRef a As Variant,
	  ByRef b As Variant ) As Long

Parameters

a
[ByRef] Variant. The left-hand-side of the equation.
b
[ByRef] Variant. the right-hand-side of the equation.

Return Values

Long -  The relationship between the values as shown in the table.
Value Meaning
Less than zeroa is less than b, with casing ignored.
Zeroa equals b, with casing ignored.
Greater than zeroa is greater than b, with casing ignored.

See Also

Project CorLib Overview

Class CaseInsensitiveComparer Overview