ObjectListCommandCollection.AddAt(Int32, ObjectListCommand) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在索引参数指定的集合中的位置添加命令。 此 API 已过时。 有关如何开发 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 值指定命令将添加到集合末尾。