Condividi tramite


ObjectListCommandCollection.AddAt(Int32, ObjectListCommand) Metodo

Definizione

Aggiunge un comando nell'insieme, nella posizione specificata dal parametro dell'indice. Questa API è obsoleta. Per informazioni su come sviluppare applicazioni per dispositivi mobili ASP.NET, vedere App per dispositivi mobili & Siti con ASP.NET.

public:
 void AddAt(int index, System::Web::UI::MobileControls::ObjectListCommand ^ command);
public void AddAt (int index, System.Web.UI.MobileControls.ObjectListCommand command);
member this.AddAt : int * System.Web.UI.MobileControls.ObjectListCommand -> unit
Public Sub AddAt (index As Integer, command As ObjectListCommand)

Parametri

index
Int32

Posizione nell'insieme in cui aggiungere command.

command
ObjectListCommand

Oggetto ObjectListCommand da aggiungere alla raccolta.

Commenti

Un valore di -1 per il index parametro specifica che il comando viene aggiunto alla fine della raccolta.

Si applica a

Vedi anche