ObjectListCommand.NET 1.1

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

This class represents a command that can be invoked on an item in an ObjectList control. Each command has descriptive text (Text) and a string name (Name) that will be provided when the ObjectList.ItemCommand event fires. You assign commands to an ObjectList by adding ObjectListCommand instances to the ObjectList.Commands collection.

public class ObjectListCommand {
// Public Constructors
   public ObjectListCommand( );
   public ObjectListCommand(string name, string text);
// Public Instance Properties
   public string Name{set; get; }
   public string Text{set; get; }

Returned By


Passed To

ObjectListCommandCollection.{Add( ), AddAt( )}

    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