編輯

共用方式為


CollectionContainer.IWeakEventListener.ReceiveWeakEvent Method

Definition

This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

 virtual bool System.Windows.IWeakEventListener.ReceiveWeakEvent(Type ^ managerType, System::Object ^ sender, EventArgs ^ e) = System::Windows::IWeakEventListener::ReceiveWeakEvent;
bool IWeakEventListener.ReceiveWeakEvent (Type managerType, object sender, EventArgs e);
abstract member System.Windows.IWeakEventListener.ReceiveWeakEvent : Type * obj * EventArgs -> bool
override this.System.Windows.IWeakEventListener.ReceiveWeakEvent : Type * obj * EventArgs -> bool
Function ReceiveWeakEvent (managerType As Type, sender As Object, e As EventArgs) As Boolean Implements IWeakEventListener.ReceiveWeakEvent

Parameters

managerType
Type

The type of the WeakEventManager calling this method. This only recognizes manager objects of type CollectionChangedEventManager.

sender
Object

Object that originated the event.

e
EventArgs

Event data.

Returns

true if the listener handled the event; otherwise, false.

Implements

Applies to