March 2003
Intermediate to advanced
512 pages
14h 30m
English
Dictionary.Keys Method
dictionaryobject.KeysdictionaryobjectUse: Required
Data Type: Dictionary object
A reference to a Dictionary object.
An array of strings.
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 type 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