ComponentDesigner.Component 属性

定义

获取此设计器正在设计的组件。Gets the component this designer is designing.

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

属性值

由该设计器管理的组件。The component managed by the designer.

实现

注解

ComponentDesigner 设置此属性的 Initialize 方法。The Initialize method of ComponentDesigner sets this property.

备注

重写 Initialize 方法时,请确保在使用此属性之前调用基类 Initialize 方法。When overriding the Initialize method, be sure to call the base class Initialize method before using this property.

适用于

另请参阅