CQG API 4.0 - Revised
CanBeSet Property
See Also  Send Feedback
CQGOrderProperty Interface : CanBeSet Property

Glossary Item Box

Description

Indicates whether the property can be set by the user or not.

Property type

Read-only property

Syntax

Visual Basic
Public Property CanBeSet As Boolean

Return Type

True if the property can be set, False otherwise.

Remarks

There are two cases when the user may set a property value:

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.

See Also