OnEvent Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Reacts to an event.

Namespace:  Microsoft.SPOT
Assembly:  Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)


Function OnEvent ( _
    ev As BaseEvent _
) As Boolean
bool OnEvent(
    BaseEvent ev
bool OnEvent(
    BaseEvent^ ev
abstract OnEvent : 
        ev:BaseEvent -> bool 
function OnEvent(
    ev : BaseEvent
) : boolean


Return Value

Type: System. . :: . .Boolean
true if the event was processed, or false if not.

.NET Framework Security

See Also


IEventListener Interface

Microsoft.SPOT Namespace