ComponentGlyph 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 ComponentGlyph 类的新实例。
重载
ComponentGlyph(IComponent) |
初始化 ComponentGlyph 类的新实例。 |
ComponentGlyph(IComponent, Behavior) |
初始化 ComponentGlyph 类的新实例。 |
ComponentGlyph(IComponent)
初始化 ComponentGlyph 类的新实例。
public:
ComponentGlyph(System::ComponentModel::IComponent ^ relatedComponent);
public ComponentGlyph (System.ComponentModel.IComponent relatedComponent);
public ComponentGlyph (System.ComponentModel.IComponent? relatedComponent);
new System.Windows.Forms.Design.Behavior.ComponentGlyph : System.ComponentModel.IComponent -> System.Windows.Forms.Design.Behavior.ComponentGlyph
Public Sub New (relatedComponent As IComponent)
参数
- relatedComponent
- IComponent
与 Glyph 相关联的组件。
另请参阅
适用于
ComponentGlyph(IComponent, Behavior)
初始化 ComponentGlyph 类的新实例。
public:
ComponentGlyph(System::ComponentModel::IComponent ^ relatedComponent, System::Windows::Forms::Design::Behavior::Behavior ^ behavior);
public ComponentGlyph (System.ComponentModel.IComponent relatedComponent, System.Windows.Forms.Design.Behavior.Behavior behavior);
public ComponentGlyph (System.ComponentModel.IComponent? relatedComponent, System.Windows.Forms.Design.Behavior.Behavior? behavior);
new System.Windows.Forms.Design.Behavior.ComponentGlyph : System.ComponentModel.IComponent * System.Windows.Forms.Design.Behavior.Behavior -> System.Windows.Forms.Design.Behavior.ComponentGlyph
Public Sub New (relatedComponent As IComponent, behavior As Behavior)
参数
- relatedComponent
- IComponent
与 Glyph 相关联的组件。