Click or drag to resize

VelocityDbComparerKeyCompare Method (Byte, Int32, Byte, Key)

Internal use, compares comparison array bytes

Namespace:  VelocityDb.Collection.Comparer
Assembly:  VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax
public virtual int Compare(
	byte[] nodeComparisonArray,
	int index,
	byte[] comparisonArray,
	Key key
)

Parameters

nodeComparisonArray
Type: SystemByte
BTree node array of Byte for all current objects in node
index
Type: SystemInt32
Object index in node to compare with
comparisonArray
Type: SystemByte
Bytes to compare with
key
Type: Key
Object compared with

Return Value

Type: Int32
-1 if this node bytes is less than comparisonArray bytes, 0 if equal, otherwise 1
See Also