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.

表示将要处理 ObjectListItemDataBind 事件的方法。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 移动应用 & 具有 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

e
ObjectListDataBindEventArgs

包含事件数据的 ObjectListDataBindEventArgs 对象。

属性

注解

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

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

扩展方法

GetMethodInfo(Delegate)
已过时.

获取指示指定委托表示的方法的对象。

适用于

另请参阅