Share via


ObjectListCommandCollection.AddAt(Int32, ObjectListCommand) 方法

定义

在集合中索引参数指定的位置添加命令。 此 API 已废弃不用。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 移动应用 & 具有 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)

参数

index
Int32

集合中要添加 command 的位置。

command
ObjectListCommand

要添加到集合中的 ObjectListCommand

注解

参数的值为 -1 index 指定将命令添加到集合的末尾。

适用于

另请参阅