Download MetaTrader 5

State (Get Method)

Gets the value of "State" property.

bool  State() const

Return Value

Value of "State" property of the object assigned to the class instance. If there is no object assigned, it returns false.

State (Set Method)

Sets new value for "State" property.

bool  State(
   bool  state      // property value
   )

Parameters

state

[in]  New value for "State" property.

Return Value

true - successful, false - cannot change the property.


Updated: 2016.04.06