WeakEventManager::ProtectedAddHandler Method (Object^, Delegate^)
.NET Framework (current version)
Adds the specified delegate as an event handler of the specified source.
Assembly: WindowsBase (in WindowsBase.dll)
Parameters
- source
-
Type:
System::Object^
The source object that the handler delegate subscribes to.
- handler
-
Type:
System::Delegate^
The delegate that handles the event that is raised by source.
.NET Framework
Available since 4.5
Available since 4.5
Show: