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
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Add Adds an element with the provided key and value to the IDictionary object.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Clear Removes all elements from the IDictionary object.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Contains Determines whether the IDictionary object contains an element with the specified key.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetEnumerator() Returns an IDictionaryEnumerator object for the IDictionary object.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetEnumerator() Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Remove Removes the element with the specified key from the IDictionary object.

Top

Extension Methods

  Name Description
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