System.Windows.Forms.Help.ShowHelp Method

Displays the contents of the Help file found at the specified URL for a specific keyword.

Syntax

public static void ShowHelp (Control parent, string url, string keyword)

Parameters

parent
A System.Windows.Forms.Control that identifies the parent of the Help dialog box.
url
The path and name of the Help file.
keyword
The keyword to display Help for.

Remarks

The url parameter can be of the form C:\path\sample.chm or /folder/file.htm.

If you provide the keyword null, the table of contents for the Help file will be displayed.

Requirements

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