ObjectListShowCommandsEventHandler Delegat

Definicja

Przestroga

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.

Reprezentuje metodę, która będzie obsługiwać ItemCommand zdarzenie elementu ObjectList. Aby uzyskać informacje o sposobie tworzenia aplikacji mobilnych ASP.NET, zobacz Mobile Apps & Sites with ASP.NET (Aplikacje mobilne & z 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)

Parametry

sender
Object

Źródło zdarzenia — .ObjectList

Atrybuty

Uwagi

Podczas tworzenia delegata ObjectListShowCommandsEventHandler dla elementu ObjectListnależy zidentyfikować metodę, która będzie obsługiwać zdarzenie. Powiadamia ObjectList procedurę obsługi po wygenerowaniu zdarzenia elementu (po powiązaniu danych). Aby skojarzyć zdarzenie z programem obsługi zdarzeń, dodaj wystąpienie delegata do zdarzenia. Jeśli nie usuniesz delegata, program obsługi zdarzeń jest wywoływany za każdym razem, gdy wystąpi zdarzenie.

Metody rozszerzania

GetMethodInfo(Delegate)
Przestarzałe.

Pobiera obiekt reprezentujący metodę reprezentowaną przez określonego delegata.

Dotyczy

Zobacz też