Table.IPostBackEventHandler.RaisePostBackEvent(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
關於此成員的描述,請參見 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
事件的論點。
實作
備註
通常,當表單上傳到伺服器時,你應該用這個 Table.RaisePostBackEvent 方法來為控制區發起事件 Table 。
此方法是一種明確的介面成員實作。 它只能在實 Table 例投射到 IPostBackEventHandler 介面時使用。
給繼承者的注意事項
若要定義自訂實作以啟動物件事件 Table ,請覆寫該 RaisePostBackEvent(String) 成員。 當控制項的發布資料變更時,明確介面實作會呼叫 RaisePostBackEvent(String) 該方法來引發事件。