IHelpService.AddContextAttribute(String, String, HelpKeywordType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.