WeakEventManager.ListenerList.DeliverEvent(Object, EventArgs, Type) WeakEventManager.ListenerList.DeliverEvent(Object, EventArgs, Type) WeakEventManager.ListenerList.DeliverEvent(Object, EventArgs, Type) WeakEventManager.ListenerList.DeliverEvent(Object, EventArgs, Type) Method

定義

管理対象のイベントを WeakEventManager.ListenerList 内の各リスナーに配信します。Delivers the event being managed to each listener in the WeakEventManager.ListenerList.

public:
 virtual bool DeliverEvent(System::Object ^ sender, EventArgs ^ args, Type ^ managerType);
public virtual bool DeliverEvent (object sender, EventArgs args, Type managerType);
abstract member DeliverEvent : obj * EventArgs * Type -> bool
override this.DeliverEvent : obj * EventArgs * Type -> bool
Public Overridable Function DeliverEvent (sender As Object, args As EventArgs, managerType As Type) As Boolean

パラメーター

sender
Object Object Object Object

イベントを発生させたオブジェクト。The object that raised the event.

args
EventArgs EventArgs EventArgs EventArgs

イベント データを格納しているオブジェクト。An object that contains the event data.

managerType
Type Type Type Type

このメソッドを呼び出す WeakEventManager の型。The type of the WeakEventManager that calls this method.

戻り値

WeakEventManager.ListenerList のリスナーのいずれかがガベージ コレクションされたオブジェクトを参照する場合 true。それ以外の場合は falsetrue if any of the listeners in the WeakEventManager.ListenerList refer to an object that has been garbage collected; otherwise, false.

適用対象