IDesignerHost.RootComponent 属性

定义

获取用作当前设计的根组件的基类的实例。Gets the instance of the base class used as the root component for the current design.

public:
 property System::ComponentModel::IComponent ^ RootComponent { System::ComponentModel::IComponent ^ get(); };
public System.ComponentModel.IComponent RootComponent { get; }
member this.RootComponent : System.ComponentModel.IComponent
Public ReadOnly Property RootComponent As IComponent

属性值

根组件类的实例。The instance of the root component class.

注解

此基类通常是 FormUserControl 实例;它定义用户的派生类扩展的类。This base class is typically a Form or UserControl instance; it defines the class for which the user's derived class extends.

适用于