Removes all key and items from the Dictionary object.
Dictionary.RemoveAll ([Pattern as String = Empty])
|Pattern||String||yes||Empty||A Regular Expression string search pattern for selecting keys to remove|
Remove selected keys from dictionary
Dim O, I 'Create the dictionary object Set o = CreateObject("multi.Dictionary") 'Add some data to the dictionary o.Add "vbNullString", vbNullString o.Add "dbl", CDbl(10) o.Add "sng", CSng(15) o.Add "array", Array(1) o.Add "currency", CCur(11) o.Add "byte", CByte(12) o.Add "int", CInt(13) o.Add "lng", CLng(14) o.Add "string", "Some text" o.Add "bool", True o.Add "empty", empty o.Add "null", null 'remove all members with e or t in the key o.RemoveAll "[et]"
Add, Connect, Disconnect, Exists, Load, Lock, Remove, RemoveAll, RemoveDictionary, Save, Unlock
CompareMode, Count, Dictionaries, Item, Items, ItemsCount, Key, Keys, KeysCount, LockDuration, Name, RefCounter, UniqueKeys
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.
Free-threaded (multithreaded) dictionary object. Lets you work with unique/non-unique keys in VBScript and JScript envinronment (share application/session variables in ASP) or any other programming language. You can share dictionary variables between processes or computers, you can save or restore dictionary variables to a disk, work with keys using regular expression and more.
© 1996 - 2009 Antonin Foller, Motobit Software | About, Contacts | e-mail: email@example.com