Home Notices Documents Classes Download Others Rice
Classes  >  eventargs  >  EHSwitch
eventargs class : EHSwitch getter

Description

Gets the switch to control the handler execution.

Syntax

eventargsInstance.EHSwitch

Arguments

None

Return value

ClassDescription
ehswitchSwitch to control the handler execution.

Sample code

1:

open method void anyHandler(eventargs ea)

2:

...

3:

ehswitch ehs = ea.EHSwitch;

4:

ehs.Stop(); // Stops handling.

5:

...

6:

endmethod

Notes

None.

Links for reference

None.

Copyright © Rice All rights reserved.