ListItemCollection Methods
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | Add(ListItem) | Appends the specified ListItem to the end of the collection. |
![]() | Add(String) | Appends a ListItem to the end of the collection that represents the specified string. |
![]() | AddRange(ListItem()) | Adds the items in an array of ListItem objects to the collection. |
![]() | Clear() | Removes all ListItem objects from the collection. |
![]() | Contains(ListItem) | Determines whether the collection contains the specified item. |
![]() | CopyTo(Array, Int32) | Copies the items from the ListItemCollection to the specified System.Array, starting with the specified index. |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | FindByText(String) | |
![]() | FindByValue(String) | |
![]() | GetEnumerator() | Returns a System.Collections.IEnumerator implemented object that contains all ListItem objects in the ListItemCollection. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | IndexOf(ListItem) | Determines the index value that represents the position of the specified ListItem in the collection. |
![]() | Insert(Int32, ListItem) | Inserts the specified ListItem in the collection at the specified index location. |
![]() | Insert(Int32, String) | Inserts a ListItem which represents the specified string in the collection at the specified index location. |
![]() | Remove(ListItem) | Removes the specified ListItem from the collection. |
![]() | Remove(String) | Removes a ListItem from the collection that represents the specified string. |
![]() | RemoveAt(Int32) | Removes the ListItem at the specified index from the collection. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast(Of TResult)() | Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.) |
![]() | OfType(Of TResult)() | Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IList.Add(Object) | This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see Add. |
![]() ![]() | IList.Contains(Object) | This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see Contains. |
![]() ![]() | IList.IndexOf(Object) | This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IndexOf. |
![]() ![]() | IList.Insert(Int32, Object) | This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see Insert. |
![]() ![]() | IList.Remove(Object) | This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see Remove. |
![]() ![]() | IStateManager.LoadViewState(Object) | This API supports the product infrastructure and is not intended to be used directly from your code. Loads the previously saved state. |
![]() ![]() | IStateManager.SaveViewState() | This API supports the product infrastructure and is not intended to be used directly from your code. Returns object containing state changes. |
![]() ![]() | IStateManager.TrackViewState() | This API supports the product infrastructure and is not intended to be used directly from your code. Starts tracking state of changes. |


