Home Cooker Classes Others Rice CookerGX
Classes  >  ehswitch  >  IsEnabled
ehswitch class : IsEnabled getter

Description

Gets a value that indicates whether the eventhandler is running.

Syntax

ehswitchInstance.IsEnabled

Arguments

None

Return value

ClassDescription
boolA value that indicates whether the eventhandler is running.

Sample code

//anyEhswitch is an instance of ehswitch type.

bool enable = anyEhswitch.IsEnabled;

Notes

If the eventhandler is already running, this property returns true. Otherwise, returns false.

Links for reference

None

Copyright © Rice All rights reserved.