Manipulating Keys and Items in a Dictionary

Microsoft® Windows® 2000 Scripting Guide

microsoft windows 2000 scripting guide

« Previous | Next »   

By itself, a Dictionary is of little use; a Dictionary is valuable only when you can access, enumerate, and modify the keys and items within that Dictionary. After you have created a Dictionary, you will probably want to do such things as:

  • Determine how many key-item pairs are in that Dictionary.
  • Enumerate the keys and/or items within the Dictionary.
  • Determine whether or not a specific key exists in the Dictionary.
  • Modify the value of a key or an item in the Dictionary.
  • Remove key-item pairs from the Dictionary.

All of these tasks can be carried out by using the methods and properties provided by the Script Runtime library.


send us your feedback Send us your feedback « Previous | Next »   


Microsoft Windows 2000 Scripting Guide(c) Automating System Administration 2003
Microsoft Windows 2000 Scripting Guide(c) Automating System Administration 2003
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 635

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net