通过


ObjectListDataBindEventHandler 委托

定义

注意

The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.

表示将处理 ItemDataBind 事件 ObjectList的方法。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

public delegate void ObjectListDataBindEventHandler(System::Object ^ sender, ObjectListDataBindEventArgs ^ e);
public delegate void ObjectListDataBindEventHandler(object sender, ObjectListDataBindEventArgs e);
[System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
public delegate void ObjectListDataBindEventHandler(object sender, ObjectListDataBindEventArgs e);
type ObjectListDataBindEventHandler = delegate of obj * ObjectListDataBindEventArgs -> unit
[<System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")>]
type ObjectListDataBindEventHandler = delegate of obj * ObjectListDataBindEventArgs -> unit
Public Delegate Sub ObjectListDataBindEventHandler(sender As Object, e As ObjectListDataBindEventArgs)

参数

sender
Object

事件的源,一个 ObjectList

属性

注解

为某个ObjectListDataBindEventHandlerObjectList对象创建委托时,可以标识将处理该事件的方法。 生成 ObjectList 项事件后(在数据绑定后)时通知处理程序。 若要将事件与事件处理程序相关联,请将委托的实例添加到事件。 除非删除委托,否则每当事件发生时调用事件处理程序。

可以使用此处理程序执行复杂的数据绑定,并在对象中 ObjectListItem 设置值。

扩展方法

名称 说明
GetMethodInfo(Delegate)
已过时.

获取一个对象,该对象表示由指定委托表示的方法。

适用于

另请参阅