IHelpService.AddContextAttribute(String, String, HelpKeywordType) Method

Definition

Adds a context attribute to the document.

C#
public void AddContextAttribute(string name, string value, System.ComponentModel.Design.HelpKeywordType keywordType);

Parameters

name
String

The name of the attribute to add.

value
String

The value of the attribute.

keywordType
HelpKeywordType

The type of the keyword, from the enumeration HelpKeywordType.

Remarks

Context attributes are used to provide context-sensitive Help to users. The designer host automatically adds context attributes from available Help attributes on certain components and properties. This method allows you to further customize the context-sensitive Help.

Applies to

Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 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

See also