Dictionary

          Class 
          Member of  Multi Use Dictionary object 

Description
Free threaded dictionary object. Lets you work with unique/non-unique keys, any VARIANT values and connect to other dictionary in the same process.
Methods
Add Add a new key and item to the Dictionary.
Connect Lets you connect to another Dictionary object in the same process.
Exists Returns true if a specified key exists in the Dictionary object, false if it does not.
Lock The Lock method blocks other clients from modifying the variables stored in the Dictionary object, ensuring that only one thread at a time can alter or access the dictionary variables.
Remove Removes a key and item pair(s) from the Dictionary object.
RemoveAll Removes all key and items from the Dictionary object.
UniqueKeys Set or get unique keys property. Specifies a dictionary mode of Add method. If True (default), Add method does not allow to add two items with the same key.
Unlock The Unlock method enables other threads to modify the variables stored in the Dictionary object after it has been locked using the Lock method.
Properties
CompareMode Sets and returns the comparison method for comparing string keys in the Dictionary object.
CompareMethod, RW
Item The Item property returns or sets the value of a given Dictionary key.
Variant, RW
Count Returns the number of items of one specified key or in the Dictionary object.
Long, RO
Items Array containing all items in the Dictionary object.
Array, RO
ItemsCount Returns the number of items in a Dictionary object.
Long, RO
Keys An array containing all existing keys in the Dictionary object.
Array, RO
KeysCount A number of keys in the Dictionary object.
Long, RO
Key Change a key in the Dictionary.
String, WO
  Other links for Dictionary class
Multi Dictionary classes
Multi Dictionary enums
Multithreaded dictionary object. Lets you work with unique/non-unique keys in VBA/VBS/ASP/WHS envinronment (share application/session variables in ASP)
  Additional notes
     Dictionary is a COM class specially designed as a free-threaded dictionary in Application scope of ASP/ASP.Net pages. It also works with script other engines in VB Script and JScript (ASP,ASP.Net, WSH, CHM, HTA), VB Net, Visual basic (VBA - VB 5, VB 6, Word, Excel, Access, …), C#, J#, C++, ASP, ASP.Net, Delphi and with T-SQL OLE functions - see Use ByteArray object article. You can also use the object in other programming environments with COM support, such is PowerBuilder.
     Source code for Dictionary is available within distribution license, please see License page for Multi Dictionary or License page for ScriptUtilities and Huge ASP file upload.

© 1996 – 2005 Motobit Software, help{at}pstruh.cz, help v. 2.16.14