HelpProvider.SetHelpKeyword(Control, String) 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.
Specifies the keyword used to retrieve Help when the user invokes Help for the specified control.
public:
virtual void SetHelpKeyword(System::Windows::Forms::Control ^ ctl, System::String ^ keyword);
public virtual void SetHelpKeyword (System.Windows.Forms.Control ctl, string keyword);
public virtual void SetHelpKeyword (System.Windows.Forms.Control ctl, string? keyword);
abstract member SetHelpKeyword : System.Windows.Forms.Control * string -> unit
override this.SetHelpKeyword : System.Windows.Forms.Control * string -> unit
Public Overridable Sub SetHelpKeyword (ctl As Control, keyword As String)
Parameters
- keyword
- String
The Help keyword to associate with the control.
Remarks
The Help keyword provides the key information to retrieve the Help associated with this control from the Help file specified by the HelpNamespace property. To open Help to a specific topic, the keyword should be passed in the form topicName.htm. To clear the keyword, call the SetHelpKeyword method with a keyword
value of null
.
Applies to
See also
.NET