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 則指定該指令會被加入到集合的末尾。