Rubrique précédente: DumpRubrique suivante: EntryDetails


KeysSet

Used after a Map has been populated with keys, each with its own values.

The KeySet method can assist in iterating through the keys by creating a new Map whose keys and values are equal to the keys of the original map.

Example:

Dim myMap
    Set myMap = Tools.CreateMap
    myMap("Name") = "MyName"
    myMap("Application") = "MyApplication"
    Tools.Log myMap.dump , "I"
    Dim keySet 
    Set keySet = myMap.KeysSet
    Tools.Log keySet.dump , "I"
    Dim element
    For Each element In keySet
          Tools.Log myMap(element), "I"
    Next

keysSet