CollectionViewSource.ReceiveWeakEvent(Type, Object, EventArgs) 方法

定义

处理集中事件表中的事件。

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

参数

managerType
Type

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

sender
Object

发出该事件的对象。

e
EventArgs

事件数据。

返回

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

适用于

另请参阅