แก้ไข

แชร์ผ่าน


IHelpService.AddContextAttribute(String, String, HelpKeywordType) Method

Definition

Adds a context attribute to the document.

public:
 void AddContextAttribute(System::String ^ name, System::String ^ value, System::ComponentModel::Design::HelpKeywordType keywordType);
public void AddContextAttribute (string name, string value, System.ComponentModel.Design.HelpKeywordType keywordType);
abstract member AddContextAttribute : string * string * System.ComponentModel.Design.HelpKeywordType -> unit
Public Sub AddContextAttribute (name As String, value As String, keywordType As HelpKeywordType)

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

See also