System.Windows.Forms.HelpProvider.GetHelpString Method

Returns the contents of the pop-up Help window for the specified control.

Syntax

[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue(null)]
public virtual string GetHelpString (Control ctl)

Parameters

ctl
A System.Windows.Forms.Control from which to retrieve the Help string.

Returns

The Help string associated with this control. The default is null.

Remarks

To display this Help string at run time, the user presses the F1 key while the specified control has the input 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