Share via


ImageMap.IPostBackEventHandler.RaisePostBackEvent(String) 方法

定義

如需這個成員的說明,請參閱 RaisePostBackEvent(String)

 virtual void System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(System::String ^ eventArgument) = System::Web::UI::IPostBackEventHandler::RaisePostBackEvent;
void IPostBackEventHandler.RaisePostBackEvent (string eventArgument);
abstract member System.Web.UI.IPostBackEventHandler.RaisePostBackEvent : string -> unit
override this.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent : string -> unit
Sub RaisePostBackEvent (eventArgument As String) Implements IPostBackEventHandler.RaisePostBackEvent

參數

eventArgument
String

事件的引數。

實作

備註

一般而言,當表單回傳至伺服器時,您應該使用 ImageMap.RaisePostBackEvent 方法來引發 控制項的事件 ImageMap

方法是 IPostBackEventHandler.RaisePostBackEvent(String) 明確的介面成員實作。 只有在 ImageMap 執行個體轉換成 IPostBackEventHandler 介面時,才能使用這個成員。

給繼承者的注意事項

若要定義自訂實作來引發 物件的 事件 ImageMap ,請覆寫 RaisePostBackEvent(String) 成員。 明確介面實作會呼叫 方法, RaisePostBackEvent(String) 以在控制項的張貼資料變更時引發 事件。

適用於

另請參閱