HelpProvider.GetHelpKeyword(Control) 方法

定義

傳回指定控制項的 Help 關鍵字。

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

傳回

與這個控制項關聯的 Help 關鍵字,如果 HelpProvider 目前設定為顯示整個說明檔,或設定為提供說明字串,則為 null

適用於

另請參閱