.NET Framework Class Library
ListItemCollection Methods

The ListItemCollection type exposes the following members.

Methods

  NameDescription
Public methodAddOverloaded. Appends a ListItem to the end of the collection.
Public methodAddRangeAdds the items in an array of ListItem objects to the collection.
Public methodClearRemoves all ListItem objects from the collection.
Public methodContainsDetermines whether the collection contains the specified item.
Public methodCopyToCopies the items from the ListItemCollection to the specified System..::.Array, starting with the specified index.
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodFindByTextSearches the collection for a ListItem with a Text property that matches the specified text.
Public methodFindByValueSearches the collection for a ListItem with a Value property that contains the specified value.
Public methodGetEnumeratorReturns a System.Collections..::.IEnumerator implemented object that contains all ListItem objects in the ListItemCollection.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIndexOfDetermines the index value that represents the position of the specified ListItem in the collection.
Public methodInsertOverloaded. Inserts a ListItem in the collection at the specified index location.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRemoveOverloaded. Removes a ListItem from the collection.
Public methodRemoveAtRemoves the ListItem at the specified index from the collection.
Public methodToStringReturns a String that represents the current Object. (Inherited from Object.)
Top
Extension Methods

  NameDescription
Public Extension MethodAsQueryableConverts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension MethodCastConverts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension MethodOfTypeFilters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodIList..::.AddInfrastructure. For a description of this member, see Add.
Explicit interface implemetationPrivate methodIList..::.ContainsInfrastructure. For a description of this member, see Contains.
Explicit interface implemetationPrivate methodIList..::.IndexOfInfrastructure. For a description of this member, see IndexOf.
Explicit interface implemetationPrivate methodIList..::.InsertInfrastructure. For a description of this member, see Insert.
Explicit interface implemetationPrivate methodIStateManager..::.LoadViewStateInfrastructure. Loads the previously saved state.
Explicit interface implemetationPrivate methodIList..::.RemoveInfrastructure. For a description of this member, see Remove.
Explicit interface implemetationPrivate methodIStateManager..::.SaveViewStateInfrastructure. Returns object containing state changes.
Explicit interface implemetationPrivate methodIStateManager..::.TrackViewStateInfrastructure. Starts tracking state of changes.
Top
See Also

Reference

Tags :


Page view tracker