BindingExpressionBase.IWeakEventListener.ReceiveWeakEvent(Type, Object, EventArgs) 方法

定義

這個成員支援 Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) 基礎結構,但是您不可以從程式碼直接使用它。This member supports the Windows Presentation Foundation (WPF)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);
Function ReceiveWeakEvent (managerType As Type, sender As Object, e As EventArgs) As Boolean Implements IWeakEventListener.ReceiveWeakEvent

參數

managerType
Type

呼叫這個方法的 WeakEventManager 型別。The type of the WeakEventManager calling this method. 這只會辨識屬於 CollectionChangedEventManager 型別的管理員物件。This only recognizes manager objects of type CollectionChangedEventManager.

sender
Object

發出事件的物件。Object that originated the event.

e
EventArgs

事件資料。Event data.

傳回

如果由接聽程式處理事件,就是 true,否則就是 falsetrue if the listener handled the event; otherwise, false.

實作

適用於