CompositeCollection.IWeakEventListener.ReceiveWeakEvent 方法

定义

此成员支持Windows Presentation Foundation (WPF) 基础结构,不应直接从代码中使用。

 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

参数

managerType
Type

调用此方法的 WeakEventManager 的类型。 这仅识别类型 CollectionChangedEventManager 的管理器对象。

sender
Object

发出该事件的对象。

e
EventArgs

事件数据。

返回

如果侦听器已处理事件,则为 true;否则为 false

实现

适用于