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 插入的。

例外

参数 valuenull.

适用于