Add Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Adds a specified handler for a specified target to the event route.
Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public Sub Add ( _
target As Object, _
handler As RoutedEventHandler, _
handledEventsToo As Boolean _
)
public void Add(
Object target,
RoutedEventHandler handler,
bool handledEventsToo
)
public:
void Add(
Object^ target,
RoutedEventHandler^ handler,
bool handledEventsToo
)
member Add :
target:Object *
handler:RoutedEventHandler *
handledEventsToo:bool -> unit
public function Add(
target : Object,
handler : RoutedEventHandler,
handledEventsToo : boolean
)
Parameters
- target
Type: System. . :: . .Object
The target object for which a handler is to be added to the event route.
- handler
Type: Microsoft.SPOT. . :: . .RoutedEventHandler
The handler to be added to the event route.
- handledEventsToo
Type: System. . :: . .Boolean
A value that indicates whether or not the listener detects events that have already been handled.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.