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.
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

|
Copyright © 2013 CA.
Tous droits réservés.
|
|