Dictionary Class The(Collection)

Defines the structure of an object that represents a collection of key/value pairs that let you save values for use by a single EasyLanguage analysis techniques or strategy. See GlobalDictionary for a similar collection that allows values to be shared between analysis techniques and windows.

Elements are added to the dictionary using the Add(sKey, oValue) method where sKey is string containing the key name and oValue is the value to be stored.

Elements (key and value) are removed from the dictionary using the Remove(sKey) method.  The Contains(sKey) method is used to determine if an element key exists in the dictionary .

Namespace: elsystem.collections

Properties

   Additional properties, methods, and events are described in the classes listed under Inheritance Hierarchy (see below).

  Name Type Description
Public property Count int Gets the number of elements contained in the dictionary.
Public property Items string Gets or sets the value of the element with the specified key.
Public property Keys vector Gets the vector collection of sorted keys from the dictionary.
Public property Values vector Gets the vector collection of sorted values from the dictionary.
Methods
  Name Description
Public property Add(key,value) Adds an element with the provided key and value to the dictionary.
Public property Clear Removes all elements from the dictionary.
Public property Contains(key) True if the dictionary contains an element with the specified key.
Public property Create Initializes a new instance of the dictionary class.
Public property Remove(key) Removes the element with the specified key from the dictionary
Inheritance Hierarchy

elsystem.Object

elsystem.Collections.Dictionary