IHelpService.AddContextAttribute(String, String, HelpKeywordType) Metoda

Definicja

Dodaje atrybut kontekstu do dokumentu.

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)

Parametry

name
String

Nazwa atrybutu do dodania.

value
String

Wartość atrybutu.

keywordType
HelpKeywordType

Typ słowa kluczowego z wyliczenia HelpKeywordType.

Uwagi

Atrybuty kontekstu są używane do zapewniania użytkownikom pomocy kontekstowej. Host projektanta automatycznie dodaje atrybuty kontekstu z dostępnych atrybutów Pomocy dla niektórych składników i właściwości. Ta metoda umożliwia dalsze dostosowywanie pomocy kontekstowej.

Dotyczy

Zobacz też