Download MetaTrader 5

InfoInteger

Gets the value of specified integer type property.

bool  InfoInteger(
   ENUM_ORDER_PROPERTY_INTEGER  prop_id,     // property ID
   long&                        var          // reference to variable
   ) const

Parameters

prop_id

[in]  ID of integer type property from ENUM_ORDER_PROPERTY_INTEGER enumeration.

var

[out]  Reference to long type variable to place result.

Return Value

true — success, false — unable to get property value.

Note

The order should be selected using the Select (by ticket) or SelectByIndex (by index) methods.


Updated: 2016.05.27