次の方法で共有


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&」を参照してください。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 オブジェクト。

属性

注釈

ObjectListObjectListDataBindEventHandler デリゲートを作成するときは、イベントを処理するメソッドを識別します。 ObjectListは、項目イベントが生成されたときにハンドラーに通知します (データ バインディングの後)。 イベントをイベント ハンドラーに関連付けるには、デリゲートのインスタンスをイベントに追加します。 デリゲートを削除しない限り、イベントが発生するたびにイベント ハンドラーが呼び出されます。

このハンドラーを使用すると、複雑なデータ バインディングを実行したり、 ObjectListItem オブジェクトの値を設定したりできます。

拡張メソッド

名前 説明
GetMethodInfo(Delegate)
古い.

指定したデリゲートによって表されるメソッドを表すオブジェクトを取得します。

適用対象

こちらもご覧ください