AxHost.HelpRequested 事件

定義

HelpRequested 事件不為 AxHost 類別支援。The HelpRequested event is not supported by the AxHost class.

public:
 event System::Windows::Forms::HelpEventHandler ^ HelpRequested;
[System.ComponentModel.Browsable(false)]
public event System.Windows.Forms.HelpEventHandler HelpRequested;
member this.HelpRequested : System.Windows.Forms.HelpEventHandler 
Public Custom Event HelpRequested As HelpEventHandler 
屬性

備註

如果您嘗試加入或移除 HelpRequested 事件的處理常式,則會擲回 NotSupportedExceptionIf you attempt to add or remove a handler for the HelpRequested event, a NotSupportedException is thrown. AxHost 類別不支援衍生自 Control 類別的事件。The events derived from the Control class are not supported by the AxHost class. 建立 AxHost 包裝函式時,ActiveX 控制項所公開的事件是應該使用的事件。The events exposed by the ActiveX control when the AxHost wrapper is created are the events that should be used.

適用於