CompareByFieldKeyCompare Method (Key, Key) |
Compares field(s) of Key a with field(s) of Key b
Namespace:
VelocityDb.Collection.Comparer
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public override int Compare(
Key a,
Key b
)
Public Overrides Function Compare (
a As Key,
b As Key
) As Integer
public:
virtual int Compare(
Key a,
Key b
) override
abstract Compare :
a : 'Key *
b : 'Key -> int
override Compare :
a : 'Key *
b : 'Key -> int
Parameters
- a
- Type: Key
the first object - b
- Type: Key
the second object
Return Value
Type:
Int32-1 if a less than b, 0 if equal and 1 if a greater than b
Implements
IComparerTCompare(T, T)See Also