Home Cooker Classes Others Rice CookerGX
Classes  >  canceleventargs  >  EHSwitch
canceleventargs class : EHSwitch getter

Description

Gets the switch of the event handler.

Syntax

canceleventargsInstance.EHSwitch

Arguments

None

Return value

ClassDescription
ehswitchSwitch of the event handler.

Sample code

//canceleventargsInstance is an instance of canceleventargs. It is passed as an argument to the event handler.

ehswitch switch = canceleventargsInstance.EHSwitch;

Notes

you can control the execution of the handler inside the handler by using the EHSwitch.

Links for reference

None

Copyright © Rice All rights reserved.