ObjectListItemCollection

ObjectListItemCollection.NET 1.1

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

This is a strongly typed collection of ObjectListItem instances. It's used to represent the current list of items in an ObjectList (through the ObjectList.Items property). You can use this collection to view the items in an ObjectList, but you cannot directly add or remove items from the collection list, because the ObjectList is always bound to a data source.

public class ObjectListItemCollection : ArrayListCollectionBase, System.Web.UI.IStateManager {
// Public Instance Properties
   public ObjectListItem this[int index]{get; }
// Public Instance Methods
   public void Clear( );
   public bool Contains(ObjectListItem item);
   public ObjectListItem[ ] GetAll( );
   public int IndexOf(ObjectListItem item);
}

Hierarchy

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

Returned By

ObjectList.Items



    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace