Main Page

  Previous Section Next Section

MobileListItemCollection.NET 1.1

System.Web.UI.MobileControls (system.web.mobile.dll)class

This is a strongly typed collection of MobileListItem instances. It's used to represent the current list of items in a List or SelectionList control (through the Items property).

public class MobileListItemCollection : ArrayListCollectionBase, System.Web.UI.IStateManager {
// Public Constructors
   public MobileListItemCollection( );
   public MobileListItemCollection(System.Collections.ArrayList items);
// Public Instance Properties
   public MobileListItem this[int index]{get; }
// Public Instance Methods
   public void Add(MobileListItem item);
   public virtual void Add(string item);
   public void Clear( );
   public bool Contains(MobileListItem item);
   public MobileListItem[ ] GetAll( );
   public int IndexOf(MobileListItem item);
   public void Insert(int index, MobileListItem item);
   public virtual void Insert(int index, string item);
   public void Remove(MobileListItem item);
   public virtual void Remove(string item);
   public void RemoveAt(int index);
   public void SetAll(MobileListItem[ ] value);


System.Object ArrayListCollectionBase(System.Collections.ICollection, System.Collections.IEnumerable) MobileListItemCollection(System.Web.UI.IStateManager)

Returned By

List.Items, SelectionList.Items

      Previous Section Next Section