ToolStripPanel.ToolStripPanelRowCollection.Insert 方法

定義

將指定的 ToolStripPanelRow 插入 ToolStripPanel.ToolStripPanelRowCollection 中的指定位置。

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

參數

index
Int32

要插入 ToolStripPanelRow 之位置的以零起始的索引。

value
ToolStripPanelRow

要插入的 ToolStripPanelRow

例外狀況

valuenull

適用於