HelpKeywordAttribute 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 HelpKeywordAttribute 类的新实例。
重载
| 名称 | 说明 |
|---|---|
| HelpKeywordAttribute() |
初始化 HelpKeywordAttribute 类的新实例。 |
| HelpKeywordAttribute(String) |
初始化 HelpKeywordAttribute 类的新实例。 |
| HelpKeywordAttribute(Type) |
从给定类型初始化类的新实例 HelpKeywordAttribute 。 |
HelpKeywordAttribute()
- Source:
- HelpKeywordAttribute.cs
- Source:
- HelpKeywordAttribute.cs
- Source:
- HelpKeywordAttribute.cs
- Source:
- HelpKeywordAttribute.cs
- Source:
- HelpKeywordAttribute.cs
初始化 HelpKeywordAttribute 类的新实例。
public:
HelpKeywordAttribute();
public HelpKeywordAttribute();
Public Sub New ()
适用于
HelpKeywordAttribute(String)
- Source:
- HelpKeywordAttribute.cs
- Source:
- HelpKeywordAttribute.cs
- Source:
- HelpKeywordAttribute.cs
- Source:
- HelpKeywordAttribute.cs
- Source:
- HelpKeywordAttribute.cs
初始化 HelpKeywordAttribute 类的新实例。
public:
HelpKeywordAttribute(System::String ^ keyword);
public HelpKeywordAttribute(string keyword);
new System.ComponentModel.Design.HelpKeywordAttribute : string -> System.ComponentModel.Design.HelpKeywordAttribute
Public Sub New (keyword As String)
参数
- keyword
- String
Help 关键字值。
例外
keyword 是 null。
适用于
HelpKeywordAttribute(Type)
- Source:
- HelpKeywordAttribute.cs
- Source:
- HelpKeywordAttribute.cs
- Source:
- HelpKeywordAttribute.cs
- Source:
- HelpKeywordAttribute.cs
- Source:
- HelpKeywordAttribute.cs
从给定类型初始化类的新实例 HelpKeywordAttribute 。
public:
HelpKeywordAttribute(Type ^ t);
public HelpKeywordAttribute(Type t);
new System.ComponentModel.Design.HelpKeywordAttribute : Type -> System.ComponentModel.Design.HelpKeywordAttribute
Public Sub New (t As Type)
参数
- t
- Type
将从中获取帮助关键字的类型。
例外
t 是 null。
注解
Help 关键字将设置为 FullName . 的属性 t。