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 行動應用程式的資訊,請參閱 mobile Apps & Sites with 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 物件。

屬性

備註

當您建立 ObjectListDataBindEventHandlerObjectList委派時,您會識別將處理事件的方法。 會在 ObjectList 數據系結) 之後產生專案事件時,通知處理程式 (。 若要使事件與您的事件處理常式產生關聯,請將委派的執行個體 (Instance) 加入至事件。 除非移除委派,否則每次發生事件時都會呼叫事件處理常式。

您可以使用這個處理程式來執行複雜的數據系結,以及設定 物件中的 ObjectListItem 值。

擴充方法

GetMethodInfo(Delegate)
已淘汰.

取得表示特定委派所代表之方法的物件。

適用於

另請參閱