AddToEventRoute Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Adds handlers to the specified event route for the current element's event handler collection.
Namespace: Microsoft.SPOT.Presentation
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public Sub AddToEventRoute ( _
route As EventRoute, _
args As RoutedEventArgs _
)
public void AddToEventRoute(
EventRoute route,
RoutedEventArgs args
)
public:
void AddToEventRoute(
EventRoute^ route,
RoutedEventArgs^ args
)
member AddToEventRoute :
route:EventRoute *
args:RoutedEventArgs -> unit
public function AddToEventRoute(
route : EventRoute,
args : RoutedEventArgs
)
Parameters
- route
Type: Microsoft.SPOT. . :: . .EventRoute
The event route to which handlers are to be added.
- args
Type: Microsoft.SPOT. . :: . .RoutedEventArgs
The event data to be used to add the handlers. The AddToEventRoute method uses the RoutedEvent property to create the handlers.
.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.