System.Windows.Forms.HelpProvider.SetHelpKeyword Method

Specifies the keyword used to retrieve Help when the user invokes Help for the specified control.

Syntax

public virtual void SetHelpKeyword (Control ctl, string keyword)

Parameters

ctl
A System.Windows.Forms.Control that specifies the control for which to set the Help topic.
keyword
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 HelpProvider.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 HelpProvider.SetHelpKeyword(Control, string) method with a keyword value of null.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0