IDesignerHost.RootComponent Property
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.
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
Property Value
The instance of the root component class.
Remarks
This base class is typically a Form or UserControl instance; it defines the class for which the user's derived class extends.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.