Επεξεργασία

Κοινή χρήση μέσω


ObjectListShowCommandsEventArgs.Commands Property

Definition

Gets or sets the collection of commands in the ObjectListCommandCollection objects. Initially, the collection is empty. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 property System::Web::UI::MobileControls::ObjectListCommandCollection ^ Commands { System::Web::UI::MobileControls::ObjectListCommandCollection ^ get(); };
public System.Web.UI.MobileControls.ObjectListCommandCollection Commands { get; }
member this.Commands : System.Web.UI.MobileControls.ObjectListCommandCollection
Public ReadOnly Property Commands As ObjectListCommandCollection

Property Value

The collection of commands in the ObjectListCommandCollection.

Remarks

You can add or remove commands in the collection by using the Add, AddAt, Remove, and RemoveAt methods of the ObjectListCommandCollection class. You can use this property to access and modify the commands for a single item in an ObjectList object during the ShowItemCommands event. Changes made do not affect the base collection of commands specified for the ObjectList object.

Applies to

See also