ASP.NET Pack Programmer's Guide
Dictionary Members
Constructors Properties 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 Properties

  Name Description

count

Gets the number of key/value pairs contained in the Dictionary.

keys

Gets the list of all keys in the Dictionary.

values

Gets the list of all values in the Dictionary.

 Public Methods

  Name Description

contains

Determines whether the Dictionary contains a specific key.

forEach

Executes a provided function once for each element.

get

Gets the value associated with the specified key within 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.Mapping Namespace