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.

C#
public HelpKeywordAttribute();

Applies to

.NET 10 och andra versioner
Produkt Versioner
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

HelpKeywordAttribute(String)

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

Initializes a new instance of the HelpKeywordAttribute class.

C#
public HelpKeywordAttribute(string keyword);

Parameters

keyword
String

The Help keyword value.

Exceptions

keyword is null.

Applies to

.NET 10 och andra versioner
Produkt Versioner
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

HelpKeywordAttribute(Type)

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

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

C#
public HelpKeywordAttribute(Type t);

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

.NET 10 och andra versioner
Produkt Versioner
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1