次の方法で共有


IDesignerHost.RootComponent プロパティ

現在のデザインのルート コンポーネントとして使用される、基本クラスのインスタンスを取得します。

ReadOnly Property RootComponent As IComponent
[C#]
IComponent RootComponent {get;}
[C++]
__property IComponent* get_RootComponent();
[JScript]
function get RootComponent() : IComponent;

プロパティ値

ルート コンポーネント クラスのインスタンス。

解説

この基本クラスのインスタンスは、通常は Form または UserControl のインスタンスで、派生クラスが拡張する対象となるクラスを定義します。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

IDesignerHost インターフェイス | IDesignerHost メンバ | System.ComponentModel.Design 名前空間