Name
DataListItemCollection
Synopsis
This custom collection class contains DataListItem
objects. It is used for the DataList.Items
property of the DataList
control.
Public NotInheritable Class DataListItemCollection : Implements ICollection, IEnumerable ' Public Constructors Public Sub New(ByVal items As System.Collections.ArrayList) ' Public Instance Properties Public ReadOnly Property Count As Integer Implements ICollection.Count Public ReadOnly Property IsReadOnly As Boolean Public ReadOnly Property IsSynchronized As Boolean Implements ICollection.IsSynchronized Public Default ReadOnly Property Item( ByVal index As Integer) As DataListItem Public ReadOnly Property SyncRoot As Object Implements ICollection.SyncRoot ' Public Instance Methods Public Sub CopyTo(ByVal array As Array, ByVal index As Integer) Implements ICollection.CopyTo Public Function GetEnumerator( ) As IEnumerator Implements IEnumerable.GetEnumerator End Class
Get ASP.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.