ObjectListSelectEventHandler 委托

定义

注意

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.

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

public delegate void ObjectListSelectEventHandler(System::Object ^ sender, ObjectListSelectEventArgs ^ e);
public delegate void ObjectListSelectEventHandler(object sender, ObjectListSelectEventArgs 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 ObjectListSelectEventHandler(object sender, ObjectListSelectEventArgs e);
type ObjectListSelectEventHandler = delegate of obj * ObjectListSelectEventArgs -> 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 ObjectListSelectEventHandler = delegate of obj * ObjectListSelectEventArgs -> unit
Public Delegate Sub ObjectListSelectEventHandler(sender As Object, e As ObjectListSelectEventArgs)

参数

sender
Object

事件的源,即 ObjectList

属性

注解

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

扩展方法

GetMethodInfo(Delegate)
已过时.

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

适用于

另请参阅