ToolStripItemCollection(ToolStrip, ToolStripItem[]) Constructor
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.
Initializes a new instance of the ToolStripItemCollection class with the specified container ToolStrip and the specified array of ToolStripItem controls.
public:
ToolStripItemCollection(System::Windows::Forms::ToolStrip ^ owner, cli::array <System::Windows::Forms::ToolStripItem ^> ^ value);
public ToolStripItemCollection (System.Windows.Forms.ToolStrip owner, System.Windows.Forms.ToolStripItem[] value);
new System.Windows.Forms.ToolStripItemCollection : System.Windows.Forms.ToolStrip * System.Windows.Forms.ToolStripItem[] -> System.Windows.Forms.ToolStripItemCollection
Public Sub New (owner As ToolStrip, value As ToolStripItem())
Parameters
- owner
- ToolStrip
The ToolStrip to which this ToolStripItemCollection belongs.
- value
- ToolStripItem[]
An array of type ToolStripItem containing the initial controls for this ToolStripItemCollection.
Exceptions
The owner
parameter is null
.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET