Share via


ObjectListCommandCollection.AddAt(Int32, ObjectListCommand) Método

Definición

Agrega un comando en la ubicación de la colección especificada por el parámetro de índice. Esta API está obsoleta. Para obtener información sobre cómo desarrollar aplicaciones móviles ASP.NET, consulte Mobile Apps & Sites with 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)

Parámetros

index
Int32

Ubicación en la colección donde se va a agregar command.

command
ObjectListCommand

ObjectListCommand que se agrega a la colección.

Comentarios

Un valor de -1 para el index parámetro especifica que el comando se agrega al final de la colección.

Se aplica a

Consulte también