CompareByFieldKeyCompareField Method |
For internal use. Compares a field value in two objects
Namespace:
VelocityDb.Collection.Comparer
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public int CompareField(
DataMember member,
Object a,
Object b,
int fieldIndex
)
Public Function CompareField (
member As DataMember,
a As Object,
b As Object,
fieldIndex As Integer
) As Integer
public:
int CompareField(
DataMember^ member,
Object^ a,
Object^ b,
int fieldIndex
)
member CompareField :
member : DataMember *
a : Object *
b : Object *
fieldIndex : int -> int
Parameters
- member
- Type: VelocityDb.TypeInfoDataMember
Field meta data - a
- Type: SystemObject
First object - b
- Type: SystemObject
Second object - fieldIndex
- Type: SystemInt32
indicates which of the fields in this comparer
Return Value
Type:
Int32A 32-bit signed integer that indicates whether this instance precedes, follows, or appears in the same position in the sort order as the value parameter.
See Also