7 Standard VariableTypes ToC Previous Next

7.18 SelectionListType ToC Previous Next index

The SelectionListType VariableType is used for a Variable where the possible values are provided by a set of values.

The Selections Property contains an array of values which represent valid values for this VariableType’s value.

The DataType of the Selections Property array shall be of the same DataType as this VariableType.

Each array element of the optional SelectionDescriptions Property contains a human-readable representation of the corresponding value in the Selections Property and shall be of the same array size as the Selections Property.

The value of this VariableType may be restricted to only the values defined in the Selections Property by setting the optional RestrictToList Property to a value of True. If the RestrictToList Property is not present or has a value of False then the value is not restricted to the set defined by the Selections Property.

The VariableType is formally defined in Table 77.

Table 77 – SelectionListType Definition

Attribute Value      
BrowseName SelectionListType      
IsAbstract False      
ValueRank −2 (−2 = Any)      
DataType BaseDataType      
References NodeClass Browse
Modelling Rule
Subtype of the BaseDataVariableType defined in 7.4        
HasProperty Variable Selections BaseDataType[]
HasProperty Variable SelectionDescriptions LocalizedText[]
HasProperty Variable RestrictToList Boolean

Previous Next