Partager via


IDictionary Members

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

Public Properties

Name Description
Public Property IsFixedSize Gets a value indicating whether the IDictionary object has a fixed size.
Public Property IsReadOnly Gets a value indicating whether the IDictionary object is read-only.
Public Property Item Gets or sets the item with the specified key.
Public Property Keys Gets an ICollection object that contains the keys in the IDictionary object.
Public Property Values Gets an ICollection object containing the values in the IDictionary object.

Public Methods

Name Description
Public Method Add Adds an element with the provided key and value to the IDictionary object.
Public Method Clear Removes all item from the IDictionary object.
Public Method Contains Determines whether the IDictionary object contains an item with the specified key.
Public Method Remove Removes the item with the specified key from the IDictionary object.

See Also

Reference

IDictionary Interface
System.Collections Namespace