語言

ToolStripItemCollection.Insert(Int32, ToolStripItem) 方法

定義

將指定項目插入指定的索引中。

public:
 void Insert(int index, System::Windows::Forms::ToolStripItem ^ value);
public void Insert(int index, System.Windows.Forms.ToolStripItem value);
member this.Insert : int * System.Windows.Forms.ToolStripItem -> unit
Public Sub Insert (index As Integer, value As ToolStripItem)

參數

index
Int32

ToolStripItemCollection ToolStripItem插入 的位置。

value
ToolStripItem

ToolStripItem插入。

例外狀況

參數 value 為 null。

適用於