Indicates whether the property can be set by the user or not.
Visual Basic |
---|
Public Property CanBeSet As Boolean |
True if the property can be set, False otherwise.
There are two cases when the user may set a property value:
- upon order creation (after CreateOrder call, but before the actual placing)
- upon order modification.
The order properties have either read-only or read/write access.
Read-only properties are never set by the user.
All read/write properties available for the order can be set before its placing. All properties available for the current order type are contained in its Properties collection, though not all of them will have read/write access.
Only a few order properties can be modified after order placing. Mainly those are prices and quantity.
See eOrderProperty to check which properties are read-only, which are read/write and which are modifiable.
If the user tries to change a property, while its CanBeSet property is False, an exception will be thrown.