Share via


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 です。

適用対象