Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ListItemCollection Members

Represents a collection of ListItem elements. ListItemCollection defines the allowable child content of a List element.

The following tables list the members exposed by the ListItemCollection type.

  Name Description
Public property Count  Gets the number of items currently in the collection.(inherited from TextElementCollection)
Public property FirstListItem Gets the first ListItem element within this instance of ListItemCollection.
Public property IsReadOnly  Gets a value that indicates whether or not the collection is read-only.(inherited from TextElementCollection)
Public property LastListItem Gets the first ListItem element within this instance of ListItemCollection.
Top

(see also Protected Methods )
  Name Description
Public method Add  Appends a specified item to the collection. (inherited from TextElementCollection)
Public method AddRange  Appends a specified range of items to the collection. (inherited from TextElementCollection)
Public method Clear  Clears all items from the collection. (inherited from TextElementCollection)
Public method Contains  Queries for the presence of a specified item in the collection. (inherited from TextElementCollection)
Public method CopyTo  Copies the contents of the collection and inserts them into a specified array starting at a specified index position in the array. (inherited from TextElementCollection)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetEnumerator  Returns an enumerator for the contents of the collection. (inherited from TextElementCollection)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method InsertAfter  Inserts a specified item in the collection after a specified collection item. (inherited from TextElementCollection)
Public method InsertBefore  Inserts a specified item in the collection before a specified collection item. (inherited from TextElementCollection)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Remove  Removes a specified item from the collection. (inherited from TextElementCollection)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method 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)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

  Name Description
Explicit interface implementation Method System.Collections.ICollection.CopyTo  This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. Use the type-safe CopyTo method instead. (inherited from TextElementCollection)
Explicit interface implementation Method System.Collections.IEnumerable.GetEnumerator  This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. Use the type-safe GetEnumerator method instead. (inherited from TextElementCollection)
Explicit interface implementation Method System.Collections.IList.Add  This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. Use the type-safe Add method instead. (inherited from TextElementCollection)
Explicit interface implementation Method System.Collections.IList.Clear  This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. Use the type-safe Clear method insteaqd. (inherited from TextElementCollection)
Explicit interface implementation Method System.Collections.IList.Contains  This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. Use the type-safe Contains method instead. (inherited from TextElementCollection)
Explicit interface implementation Method System.Collections.IList.IndexOf  This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. (inherited from TextElementCollection)
Explicit interface implementation Method System.Collections.IList.Insert  This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. Use the type-safe InsertAfter or InsertBefore methods instead. (inherited from TextElementCollection)
Explicit interface implementation Method System.Collections.IList.Remove  This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. Use the type-safe Remove method instead. (inherited from TextElementCollection)
Explicit interface implementation Method System.Collections.IList.RemoveAt  This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. Use the type-safe Remove method instead. (inherited from TextElementCollection)
Explicit interface implementation Property System.Collections.ICollection.Count  This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. Use the type-safe Count property instead.(inherited from TextElementCollection)
Explicit interface implementation Property System.Collections.ICollection.IsSynchronized  This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.(inherited from TextElementCollection)
Explicit interface implementation Property System.Collections.ICollection.SyncRoot  This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.(inherited from TextElementCollection)
Explicit interface implementation Property System.Collections.IList.IsFixedSize  This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.(inherited from TextElementCollection)
Explicit interface implementation Property System.Collections.IList.IsReadOnly  This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.(inherited from TextElementCollection)
Explicit interface implementation Property System.Collections.IList.Item  This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.(inherited from TextElementCollection)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft