ObjectListCommandCollection.AddAt(Int32, ObjectListCommand) Metod

Definition

Lägger till ett kommando på platsen i samlingen som anges av indexparametern. Det här API:et är föråldrat. Information om hur du utvecklar ASP.NET mobila program finns i Mobile Apps & Webbplatser med 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)

Parametrar

index
Int32

Platsen i samlingen där du vill lägga till command.

command
ObjectListCommand

Att ObjectListCommand lägga till i samlingen.

Kommentarer

Värdet -1 för parametern index anger att kommandot läggs till i slutet av samlingen.

Gäller för

Se även