May 1995
Beginner
508 pages
16h 14m
English
Dictionary.Keys Method
dictionaryobject.Keysdictionaryobject
Use: Required
Data Subtype: Dictionary object
A reference to a Dictionary object.
A Variant array of subtype String.
Returns an array containing all the Key values in the specified Dictionary object.
The returned array is always a 0-based variant array whose data subtype is String.
The Keys method retrieves only the keys stored in a Dictionary object. You can retrieve all the Dictionary object’s items by calling its Items method. You can recall an individual data item by using the Dictionary object’s Item property.
Dim vArray
vArray = DictObj.Keys
For i = 0 to DictObj.Count -1
Response.Write vArray(i) & "<BR>"
NextRead now
Unlock full access