Specifies the keyword used to retrieve Help when the user invokes Help for the specified control.
Namespace:
System.Windows.Forms
Assembly:
System.Windows.Forms (in System.Windows.Forms.dll)
Visual Basic (Declaration)
Public Overridable Sub SetHelpKeyword ( _
ctl As Control, _
keyword As String _
)
Dim instance As HelpProvider
Dim ctl As Control
Dim keyword As String
instance.SetHelpKeyword(ctl, keyword)
public virtual void SetHelpKeyword(
Control ctl,
string keyword
)
public:
virtual void SetHelpKeyword(
Control^ ctl,
String^ keyword
)
public function SetHelpKeyword(
ctl : Control,
keyword : String
)
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 nullNothingnullptra null reference (Nothing in Visual Basic).
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
.NET Framework
Supported in: 3.5, 3.0, 2.0, 1.1, 1.0
Reference
SetHelpKeyword