ObjectListShowCommandsEventHandler 委托

定义

注意

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.

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

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

参数

sender
Object

事件的源,即 ObjectList

属性

注解

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

扩展方法

GetMethodInfo(Delegate)
已过时.

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

适用于

另请参阅