HelpKeywordAttribute 构造函数
定义
初始化 HelpKeywordAttribute 类的新实例。Initializes a new instance of the HelpKeywordAttribute class.
重载
| HelpKeywordAttribute() |
初始化 HelpKeywordAttribute 类的新实例。Initializes a new instance of the HelpKeywordAttribute class. |
| HelpKeywordAttribute(String) |
初始化 HelpKeywordAttribute 类的新实例。Initializes a new instance of the HelpKeywordAttribute class. |
| HelpKeywordAttribute(Type) |
初始化给定类型的 HelpKeywordAttribute 类的新实例。Initializes a new instance of the HelpKeywordAttribute class from the given type. |
HelpKeywordAttribute()
初始化 HelpKeywordAttribute 类的新实例。Initializes a new instance of the HelpKeywordAttribute class.
public:
HelpKeywordAttribute();
public HelpKeywordAttribute ();
Public Sub New ()
适用于
HelpKeywordAttribute(String)
初始化 HelpKeywordAttribute 类的新实例。Initializes a new instance of the HelpKeywordAttribute class.
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
“帮助”关键字值。The Help keyword value.
例外
keyword 为 null。keyword is null.
适用于
HelpKeywordAttribute(Type)
初始化给定类型的 HelpKeywordAttribute 类的新实例。Initializes a new instance of the HelpKeywordAttribute class from the given type.
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
将采用“帮助”关键字的类型。The type from which the Help keyword will be taken.
例外
t 为 null。t is null.
注解
"帮助" 关键字将设置为的 FullName 属性 t 。The Help keyword will be set to the FullName property of t.