System.Windows.Forms.HelpProvider.SetHelpString Method

Specifies the Help string associated with the specified control.

Syntax

public virtual void SetHelpString (Control ctl, string helpString)

Parameters

ctl
A System.Windows.Forms.Control with which to associate the Help string.
helpString
The Help string associated with the control.

Remarks

The Help string that you specify in the helpString parameter is displayed in a pop-up window when the user presses the F1 key while the specified control has focus.

Requirements

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