語言

Button.RaisePostBackEvent(String) 方法

定義

當控制件回傳到伺服器時,會觸發事件 Button 。

protected:
 virtual void RaisePostBackEvent(System::String ^ eventArgument);
protected virtual void RaisePostBackEvent(string eventArgument);
abstract member RaisePostBackEvent : string -> unit
override this.RaisePostBackEvent : string -> unit
Protected Overridable Sub RaisePostBackEvent (eventArgument As String)

參數

eventArgument
String

事件的論點。

備註

控制點在點擊 Button 時,內部使用此事件來觸發 Click 事件,若定義則觸發 Command 事件。

適用於

另請參閱