June 2002
Intermediate to advanced
816 pages
28h 12m
English
ListItemCollection
This class contains a collection of ListItem objects, which represents the
items in a list control. This collection is used by the ListControl.Items property.
Public NotInheritable Class ListItemCollection : Implements_ IList, ICollection, IEnumerable, System.Web.UI.IStateManager ' Public Constructors Public Sub New() ' Public Instance Properties Public Property Capacity As Integer Public ReadOnly Property Count As Integer Implements ICollection.Count Public ReadOnly Property IsReadOnly As Boolean Implements IList.IsReadOnly Public ReadOnly Property IsSynchronized As Boolean Implements ICollection.IsSynchronized Public Default ReadOnly Property Item( ByVal index As Integer) As ListItem Public ReadOnly Property SyncRoot As Object Implements ICollection.SyncRoot ' Public Instance Methods Public Sub Add(ByVal item As ListItem) Public Sub Add(ByVal item As String) Public Sub AddRange(ByVal items As ListItem()) Public Sub Clear() Implements IList.Clear Public Function Contains( ByVal item As ListItem) As Boolean Public Sub CopyTo(ByVal array As Array, ByVal index As Integer) Implements ICollection.CopyTo Public Function FindByText( ByVal text As String) As ListItem Public Function FindByValue( ByVal value As String) As ListItem Public Function GetEnumerator( ) As IEnumerator Implements IEnumerable.GetEnumerator Public Function IndexOf(ByVal item As ListItem) As Integer Public Sub Insert(ByVal index As Integer, ByVal item As ListItem) Public Sub Insert ...
Read now
Unlock full access