MindFusion.Diagramming for JavaScript Programmer's Guide
Dictionary Members
Constructors Methods
 


Represents a collection of keys and values.

The following tables list the members exposed by the Dictionary type.

 Public Constructors

  Name Description

Dictionary

Initializes a new instance of the Dictionary class.

 Public Methods

  Name Description

contains

Determines whether the dictionary contains a specific key.

forEach

Calls a defined callback function for each entry in the dictionary.

forEachKey

Calls a defined callback function for each key in the dictionary.

forEachValue

Calls a defined callback function for each value in the dictionary.

get

Gets the value associated with the specified key within the dictionary.

keys

Gets an array with all keys in the dictionary.

remove

Removes the element with the specified key from the dictionary.

set

Associates the specified value with the specified key within the dictionary.

 See Also

Dictionary Class
MindFusion.Collections Namespace