CheckBoxList.IPostBackDataHandler.RaisePostDataChangedEvent 方法
定义
控件的已发布数据发生更改时引发。Raised when posted data for a control has changed.
virtual void System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent() = System::Web::UI::IPostBackDataHandler::RaisePostDataChangedEvent;
void IPostBackDataHandler.RaisePostDataChangedEvent ();
abstract member System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent : unit -> unit
override this.System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent : unit -> unit
Sub RaisePostDataChangedEvent () Implements IPostBackDataHandler.RaisePostDataChangedEvent
实现
注解
通常, CheckBoxList.RaisePostDataChangedEvent 当对象的已发布数据发生更改时,应使用方法来引发事件 CheckBoxList 。Typically, you should use the CheckBoxList.RaisePostDataChangedEvent method to raise an event when the posted data for a CheckBoxList object changes.
IPostBackDataHandler.RaisePostDataChangedEvent方法是显式接口成员实现。The IPostBackDataHandler.RaisePostDataChangedEvent method is an explicit interface member implementation. 它只能在 CheckBoxList 实例被强制转换为 IPostBackDataHandler 接口时使用。It can be used only when the CheckBoxList instance is cast to an IPostBackDataHandler interface.
继承者说明
若要为对象定义引发事件的自定义实现 CheckBoxList ,请重写 RaisePostDataChangedEvent() 成员。To define a custom implementation for raising the event for a CheckBoxList object, override the RaisePostDataChangedEvent() member. 当控件的已发布数据发生更改时,显式接口实现会调用 RaisePostDataChangedEvent() 方法来引发事件。The explicit interface implementation calls the RaisePostDataChangedEvent() method to raise the event when posted data has changed for the control.