Redigera

Dela via


HelpKeywordAttribute Constructors

Definition

Initializes a new instance of the HelpKeywordAttribute class.

Overloads

HelpKeywordAttribute()

Initializes a new instance of the HelpKeywordAttribute class.

HelpKeywordAttribute(String)

Initializes a new instance of the HelpKeywordAttribute class.

HelpKeywordAttribute(Type)

Initializes a new instance of the HelpKeywordAttribute class from the given type.

HelpKeywordAttribute()

Source:
HelpKeywordAttribute.cs
Source:
HelpKeywordAttribute.cs
Source:
HelpKeywordAttribute.cs

Initializes a new instance of the HelpKeywordAttribute class.

public:
 HelpKeywordAttribute();
public HelpKeywordAttribute ();
Public Sub New ()

Applies to

HelpKeywordAttribute(String)

Source:
HelpKeywordAttribute.cs
Source:
HelpKeywordAttribute.cs
Source:
HelpKeywordAttribute.cs

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)

Parameters

keyword
String

The Help keyword value.

Exceptions

keyword is null.

Applies to

HelpKeywordAttribute(Type)

Source:
HelpKeywordAttribute.cs
Source:
HelpKeywordAttribute.cs
Source:
HelpKeywordAttribute.cs

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)

Parameters

t
Type

The type from which the Help keyword will be taken.

Exceptions

Remarks

The Help keyword will be set to the FullName property of t.

Applies to