Click or drag to resize

ChooserChoose Method

Select ASCOM driver to use without pre-selecting in the dropdown list

Namespace:  ASCOM.Utilities
Assembly:  ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 3c9121baba46811fe6e53a58a05935662261416d
public string Choose()

Return Value

Type: String
Driver ID of chosen driver
No driver will be pre-selected in the Chooser's list when the chooser window is first opened. Thrown if the Chooser.DeviceType property has not been set before Choose is called. It must be set in order for Chooser to know which list of devices to display.

This overload is not available through COM, please use "Choose(ByVal DriverProgID As String)" with an empty string parameter to achieve this effect.

See Also