Property Hash Table Class

Compare

Get the current value of the Compare property. The Compare property specifies the type of comparisons used to determine if string Keys match.

Signature (Visual Basic / VBA)

Public Property Get Compare( _
    ) As VbCompareMethod

Code Examples

    Assuming
       Dim htTemp As New HashTable
       Dim vbcmCur As VbCompareMethod
    for example
       vbcmCur = htTemp.Compare
    leaves
       vbcmCur = vbBinaryCompare
    Assuming
       Dim htTemp As New HashTable
    for example
       htTemp.Compare = vbTextCompare
Public Property Let Compare( _
    ByVal vCompare As VbCompareMethod _
    )

Return Value

Type of comparisons used to determine if string Keys match. Set the current value of the Compare property.

Notes & Version History

vCompare Type of comparisons used to determine if string Keys match.
Note The Compare property defaults to Binary comparisons (vbBinaryCompare) when new instances of this class are created.