Dictionary.KeyComparisionDelegate

From Xojo Documentation

Delegate


Dictionary.KeyComparisonDelegate(leftKey As Variant, rightKey As Variant) As Integer

New in 2019r2

Supported for all project types and targets.

Implement this delegate if you would like the Dictionary to support case-sensitive keys.

Parameters

Parameter Description
leftKey The left-hand side of the comparison.
rightKey The right-hand side of the comparison.

Returns

Return a positive integer if leftKey is greater than rightKey.

Return 0 if leftKey is the same as rightKey.

Return a negative integer if leftKey is less than rightKey.