CollectionContainer.ReceiveWeakEvent(Type, Object, EventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Handles events from the centralized event table.
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
Parameters
- managerType
- Type
The type of the WeakEventManager calling this method. This only recognizes manager objects of type CollectionChangedEventManager.
- sender
- Object
The object that originated the event.
The event data.
Returns
true
if the listener handled the event; otherwise, false
.
Applies to
See also
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.