Click to Rate and Give Feedback
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
ListItemCollection Methods

Updated: November 2007

The ListItemCollection type exposes the following members.

  NameDescription
AddOverloaded. Appends a ListItem to the end of the collection.
AddRange Adds the items in an array of ListItem objects to the collection.
Clear Removes all ListItem objects from the collection.
Contains Determines whether the collection contains the specified item.
CopyTo Copies the items from the ListItemCollection to the specified System..::.Array, starting with the specified index.
Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
FindByText Searches the collection for a ListItem with a Text property that contains the specified text.
FindByValue Searches the collection for a ListItem with a Value property that contains the specified value.
GetEnumerator Returns a System.Collections..::.IEnumerator implemented object that contains all ListItem objects in the ListItemCollection.
GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
GetType Gets the Type of the current instance. (Inherited from Object.)
IndexOf Determines the index value that represents the position of the specified ListItem in the collection.
InsertOverloaded. Inserts a ListItem in the collection at the specified index location.
MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
RemoveOverloaded. Removes a ListItem from the collection.
RemoveAt Removes the ListItem at the specified index from the collection.
ToString Returns a String that represents the current Object. (Inherited from Object.)
Top
  NameDescription
AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Cast Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
OfType Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top
  NameDescription
IList..::.AddInfrastructure. For a description of this member, see Add.
IList..::.ContainsInfrastructure. For a description of this member, see Contains.
IList..::.IndexOfInfrastructure. For a description of this member, see IndexOf.
IList..::.InsertInfrastructure. For a description of this member, see Insert.
IStateManager..::.LoadViewStateInfrastructure. Loads the previously saved state.
IList..::.RemoveInfrastructure. For a description of this member, see Remove.
IStateManager..::.SaveViewStateInfrastructure. Returns object containing state changes.
IStateManager..::.TrackViewStateInfrastructure. Starts tracking state of changes.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker