Choices Property

Returns a reference to the Choices Collection exposed by the DTC or DTC Set object. Read-only.

Syntax

[Set oChoices = ]object.Choices

Parameters

oChoices

The collection of choices

object

DTC object

Remarks

New static choices are published by a DTC object by calling the AddChoice or AddPopUpChoice method on the Choices object returned by this method.

Note   These choices are "static" only insofar as they are not generated anew during each call to the OnGetChoices method. It is perfectly reasonable and expected to make changes to these choices at any time. Remove choices from the static choices collection by directly calling Revoke on the Choice objects.

Applies to   IDesignTimeControlSite interface