IDictionary Methods
Collapse the table of content
Expand the table of content

IDictionary Methods

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The IDictionary type exposes the following members.

  NameDescription
Public method Add Adds an element with the provided key and value to the IDictionary object.
Public method Clear Removes all elements from the IDictionary object.
Public method Contains Determines whether the IDictionary object contains an element with the specified key.
Public method CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection.)
Public method GetEnumerator() Returns an IDictionaryEnumerator object for the IDictionary object.
Public method GetEnumerator() Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.)
Public method Remove Removes the element with the specified key from the IDictionary object.
Top

  NameDescription
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast<TResult> Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType<TResult> Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

Show:
© 2017 Microsoft