DataListItemCollection Members

Represents the collection of DataListItem objects in the DataList control. This class cannot be inherited.

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

  Name Description
Public method DataListItemCollection Initializes a new instance of the DataListItemCollection class.

  Name Description
Public property Count Gets the number of DataListItem objects in the collection.
Public property IsReadOnly Gets a value that indicates whether the DataListItem objects in the DataListItemCollection can be modified.
Public property IsSynchronized Gets a value indicating whether access to the DataListItemCollection is synchronized (thread-safe).
Public property Item Gets a DataListItem object at the specified index in the collection.
Public property SyncRoot Gets the object that can be used to synchronize access to the DataListItemCollection collection.

(see also Protected Methods )
  Name Description
Public method CopyTo Copies all the items from this DataListItemCollection collection to the specified System.Array object, starting at the specified index in the System.Array object.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetEnumerator Returns a System.Collections.IEnumerator interface that contains all DataListItem objects in the DataListItemCollection.
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)

  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.)

Community Additions