ObjectListDataBindEventHandler 代理人
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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.
代表將處理ItemDataBindObjectList事件的方法。 有關如何開發 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。
一個 ObjectListDataBindEventArgs 包含事件資料的物件。
- 屬性
備註
當你為 建立 ObjectListDataBindEventHandler 代理人時,你就要 ObjectList確定處理該事件的方法。 當產生項目事件(資料綁定後)時,會 ObjectList 通知處理器。 要將事件與你的事件處理器關聯,請將該代理的實例加入事件中。 除非移除代理,否則事件發生時會呼叫事件處理程序。
你可以用這個處理器做複雜的資料綁定,並在物件中設定值 ObjectListItem 。
擴充方法
| 名稱 | Description |
|---|---|
| GetMethodInfo(Delegate) |
已淘汰.
取得一個代表指定代理所代表方法的物件。 |