IDictionary Methods
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Include Protected Members
Include Inherited Members
Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members
The IDictionary type exposes the following members.
Methods
Name | Description | |
---|---|---|
Add | Adds an element with the provided key and value to the IDictionary object. | |
Clear | Removes all elements from the IDictionary object. | |
Contains | Determines whether the IDictionary object contains an element with the specified key. | |
CopyTo | Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection.) | |
GetEnumerator() | Returns an IDictionaryEnumerator object for the IDictionary object. | |
GetEnumerator() | Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.) | |
Remove | Removes the element with the specified key from the IDictionary object. |
Top
Extension Methods
Name | Description | |
---|---|---|
AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) | |
Cast<TResult> | Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) | |
OfType<TResult> | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
Top