Specifies the collection of choices available for the object to subscribe to and are calculated synchronously whenever the property is read. Read-only.
Syntax
[Set oChoices = ]object.AvailableChoices
Parameters
oChoices
A Choices collection containing the available Choice objects
object
DTC object expression
Remarks
Not available to design-time control set objects.
Use this property any time you want to get the current list of Choice objects available to the DTC. The returned Choices collection contains all available choices of all types. Typically, the control also calls the Filter method on the returned Choices collection to get only the choices that match particular criteria. This property is not available to certain DTC methods, such as the OnRebind method.
For best performance, determine available choices by filtering the Choices collection passed to the DTC during the OnRebind method.
Applies to IDesignTimeControlSite