ASP.NET in a Nutshell, Second Edition

ObjectListCommandCollection.NET 1.1

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

The ObjectListCommandCollection contains a collection of commands that can be invoked on items in an ObjectList. The ObjectList.Commands property is an ObjectListCommandCollection.

public class ObjectListCommandCollection : ArrayListCollectionBase, System.Web.UI.IStateManager { // Public Instance Properties public ObjectListCommand this[int index]{get; } // Public Instance Methods public void Add(ObjectListCommand command); public void AddAt(int index, ObjectListCommand command); public void Clear( ); public int IndexOf(string s); public void Remove(string s); public void RemoveAt(int index); }

Hierarchy

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

Returned By

ObjectList.Commands, ObjectListShowCommandsEventArgs.Commands

Passed To

ObjectListShowCommandsEventArgs.ObjectListShowCommandsEventArgs( )

Категории