Item

ActiveX/VBSScript registry editor  ActiveX NT User account manager  Export MDB/DBF from ASP
Url replacer, IIS url rewrite Active LogFile  Email export  ActiveX/ASP Scripting Dictionary object
 IISTracer, real-time IIS monitor
 Huge ASP upload - upload files with progress.
          Default Property 
          Member of  Multi.Dictionary 

Description

The Item property returns or sets the value of a given Dictionary key.

Syntax

vItem = Dictionary.Item (Key as String)
Dictionary.Item (Key as String) = vItem
 
Where Type Optional Default Description
 Key  String     Key associated with the item being retrieved or added. 

Returns

Variant

Examples

 Simple Item sample  
  Dim D As New Multi.Dictionary
  
  D("Alex") = 2534
  D("Martin") = 3812
  D("Dave") = 1532
  
  Dim ID
  ID = D("Dave")
  ID = D("Martin")
  Other links for Item

Methods of Dictionary class

Properties of Dictionary class

Multi.Dictionary

Free threaded dictionary object. Lets you work with unique/non-unique keys, any VARIANT values and connect to other dictionary in the same process.
     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 ASP file upload and ScriptUtilities.

Multi

Multithreaded dictionary object. Lets you work with unique/non-unique keys in VBA/VBS/ASP/WHS envinronment (share application/session variables in ASP)

© 1996 – 2008 Antonin Foller, Motobit Software, help{at}pstruh.cz, help v. 1.1.2.3