CompareByFieldKeyAddFieldToCompare Method |
Add an additional field to compare when prior fields all are equal
Namespace:
VelocityDb.Collection.Comparer
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public void AddFieldToCompare(
string field,
bool ascendingSort = true
)
Public Sub AddFieldToCompare (
field As String,
Optional ascendingSort As Boolean = true
)
public:
void AddFieldToCompare(
String^ field,
bool ascendingSort = true
)
member AddFieldToCompare :
field : string *
?ascendingSort : bool
(* Defaults:
let _ascendingSort = defaultArg ascendingSort true
*)
-> unit
Parameters
- field
- Type: SystemString
Field name of field to compare - ascendingSort (Optional)
- Type: SystemBoolean
If (default), sort in ascending order, otherwise in descending order
See Also