EventRegistrationTokenTable(Of T).AddEventHandler Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Adds the specified event handler to the table and to the invocation list, and returns a token that can be used to remove the event handler.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- handler
- Type: T
The event handler to add.
Return Value
Type: System.Runtime.InteropServices.WindowsRuntime.EventRegistrationTokenA token that can be used to remove the event handler from the table and the invocation list.
Show: