ツールボックス項目が呼び出されたときに、コンポーネントまたはコンポーネントの配列を作成します。
Protected Overridable Function CreateComponentsCore( _
ByVal host As IDesignerHost _) As IComponent()
[C#]
protected virtual IComponent[] CreateComponentsCore(IDesignerHosthost);
[C++]
protected: virtual IComponent* CreateComponentsCore(IDesignerHost* host) [];
[JScript]
protected function CreateComponentsCore(
host : IDesignerHost) : IComponent[];
パラメータ
- host
ツールボックス項目を管理する IDesignerHost 。
戻り値
作成された IComponent オブジェクトの配列。
解説
継承時の注意: このメソッドをオーバーライドして、ツールボックス項目が作成するコンポーネントを返すことができます。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
ToolboxItem クラス | ToolboxItem メンバ | System.Drawing.Design 名前空間 | IDesignerHost