EventHandlerList.AddHandler(Object, Delegate) EventHandlerList.AddHandler(Object, Delegate) EventHandlerList.AddHandler(Object, Delegate) EventHandlerList.AddHandler(Object, Delegate) Method

定義

リストにデリゲートを追加します。Adds a delegate to the list.

public:
 void AddHandler(System::Object ^ key, Delegate ^ value);
public void AddHandler (object key, Delegate value);
member this.AddHandler : obj * Delegate -> unit
Public Sub AddHandler (key As Object, value As Delegate)

パラメーター

key
Object Object Object Object

イベントを所有しているオブジェクト。The object that owns the event.

value
Delegate Delegate Delegate Delegate

リストに追加するデリゲート。The delegate to add to the list.

適用対象