Choice Object

Represents a unit of information available for sharing between objects.

Syntax

Choice

Remarks

A Choice object has a set of fixed properties and can also have a set of DTC-specific properties. You can implement DTC-specific properties by specifying name-value pairs in a Tags collection associated with the Choice object. The fixed properties have well-defined semantics such as name and type properties. By specifying a Tags collection to the Choice object, you can provide name-value pairs specific to your DTC.

For example, a choice that identifies a fruit type, might have tags such as CostPerPound, DeliveryTime, or color.

A Choice object has two basic parts:

DTCs share information with each other by creating, publishing, filtering, and subscribing to Choice objects. A Choice object can contain arbitrary information, but is always managed as an atomic unit.

DTC objects can process Choice objects in the following ways:

Properties Methods
Callback

AddTag

Description

DeleteTag

Enabled

DeleteTags

PopUp

Revoke

Sequential

Tag

Tags

Text

TextMustBeUnique

Type


See also   Defining a Choice