Gets the value of "State" property.
bool State() const
Returned value
Value of "State" property of the object, assigned to the class instance. If there is no object assigned, it returns false.
Sets new value for "State" property.
bool State( bool state // new state value )
Parameters
X
[in] New value for "State" property.
true if successful, false if property hasn't changed.