ToolStripItemCollection.Insert(Int32, ToolStripItem) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inserts the specified item into the collection at the specified index.
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)
Parameters
- index
- Int32
The location in the ToolStripItemCollection at which to insert the ToolStripItem.
- value
- ToolStripItem
The ToolStripItem to insert.
Exceptions
The value
parameter is null
.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET