IList 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 IList type exposes the following members.

Methods

  Name Description
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Add Adds an item to the IList.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Clear Removes all items from the IList.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Contains Determines whether the IList contains a specific value.
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 enumerator that iterates through a collection. (Inherited from IEnumerable.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IndexOf Determines the index of a specific item in the IList.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Insert Inserts an item to the IList at the specified index.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Remove Removes the first occurrence of a specific object from the IList.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 RemoveAt Removes the IList item at the specified index.

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