ImageButton.RaisePostBackEvent(String) 方法

定义

ImageButton 控件回发到服务器时引发此控件的事件。

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

该事件的参数。

注解

RaisePostBackEvent 控件派生自定义类 ImageButton 时,控件开发人员主要使用 成员。

控件在单击此方法时在内部ImageButton使用此方法,以引发事件,如果已定义,则引发ClickCommand事件。

适用于

另请参阅