HelpProvider.GetHelpKeyword(Control) 方法

定义

返回指定控件的帮助关键字。

public:
 virtual System::String ^ GetHelpKeyword(System::Windows::Forms::Control ^ ctl);
public virtual string GetHelpKeyword (System.Windows.Forms.Control ctl);
public virtual string? GetHelpKeyword (System.Windows.Forms.Control ctl);
abstract member GetHelpKeyword : System.Windows.Forms.Control -> string
override this.GetHelpKeyword : System.Windows.Forms.Control -> string
Public Overridable Function GetHelpKeyword (ctl As Control) As String

参数

ctl
Control

从中检索帮助主题的 Control

返回

与此控件关联的帮助关键字;如果 HelpProvider 当前配置为显示整个帮助文件或配置为提供帮助字符串,则为 null

适用于

另请参阅