通过


ObjectListCommandCollection.AddAt(Int32, ObjectListCommand) 方法

定义

在索引参数指定的集合中的位置添加命令。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 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 值指定命令将添加到集合末尾。

适用于

另请参阅