ChooserChoose(String) Method
Select ASCOM driver to use including pre-selecting one in the drop-down list
Namespace: ASCOM.UtilitiesAssembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 7.1.3+4851.c5da65c2b
public string Choose(
string DriverProgID
)
Public Function Choose (
DriverProgID As String
) As String
public:
virtual String^ Choose(
String^ DriverProgID
) sealed
- DriverProgID String
- Driver to preselect in the chooser dialogue
StringDriver ID of chosen driver
The supplied driver will be pre-selected in the Chooser's list when the chooser window is first opened.
| InvalidValueException | 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. |