Home Cooker Classes Others Rice
Classes  >  switch  >  Fitted
switch class : Fitted getter

Description

Gets the value that indicates whether this instance was already initialized.

Syntax

switchInstance.Fitted

Arguments

None

Return value

ClassDescription
boolThe value that indicates whether this instance was already initialized.

Sample code

1:

open method void LoadCompletedHandler(lceva ea)

2:

...

3:

switch ehs = ea.Switch;

4:

bool init = ehs.Fitted; // true.

5:

...

6:

endmethod

Notes

Instance that is created by declaration is still uninitialized.

Links for reference

None.

Copyright © Rice All rights reserved.