Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_DictionaryEnhanced VBA Dictionary

Public Function GetKeyArrayForValue (
Value As Variant
) As String()

Return a 1-based string array containing the keys of all elements matching the specified value. If UBound() of the returned array is 0, then no elements were found.
If three keys were returned, then the array data occupies indexes 1 to 3.

Value as Variant

The value to match

Call Template:

Dim obj As New xf_Dictionary
Dim s() As String
s = obj.GetKeyArrayForValue(Value)

See Also:

Example 1:

Dim sarr() As String
sarr = TestDict.GetKeyArrayForValue(3)
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd