Dictionary : Dictionary : MS JScript JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » MS JScript » Dictionary »

 

Dictionary









The Dictionary object is an associative array of items that can be of any type.

Each item is associated with a unique key that provides access to each item in the array.

The key is usually an integer or a string, but can be anything except an array.











































Properties/Methods Description
Count Returns the number of items in a collection or dictionary
Item Sets or returns an item for a specified key
Key Sets a key in a dictionary
Add() Adds a key and item pair to dictionary
Exists() Determines if specified key exists in dictionary
Items() Returns array of all items in dictionary
Keys() Returns array of all existing keys in dictionary
Remove() Removes a key, item pair from dictionary
RemoveAll() Removes all key, item pairs from a dictionary








HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo MS JScript
» Dictionary