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
)
Public Overridable Function Compare (
nodeComparisonArray As Byte(),
index As Integer,
comparisonArray As Byte(),
key As Key
) As Integer
public:
virtual int Compare(
array<unsigned char>^ nodeComparisonArray,
int index,
array<unsigned char>^ comparisonArray,
Key key
)
abstract Compare :
nodeComparisonArray : byte[] *
index : int *
comparisonArray : byte[] *
key : 'Key -> int
override Compare :
nodeComparisonArray : byte[] *
index : int *
comparisonArray : byte[] *
key : 'Key -> int
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