The Choose() method returns the DriverID of the selected driver.
Choose() allows you to optionally pass the DriverID of a "current" driver,
and the corresponding camera type is pre-selected in the Chooser///s list.
In this case, the OK button starts out enabled (lit-up); the assumption is that the pre-selected driver has already been configured.
Namespace:
ASCOM.DriverAccess
Assembly:
ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntaxpublic static string Choose(
string cameraId
)
Public Shared Function Choose (
cameraId As String
) As String
public:
static String^ Choose(
String^ cameraId
)
Parameters
- cameraId
- Type: SystemString
Optional DriverID of the previously selected camera that is to be the pre-selected camera in the list.
Return Value
Type:
String
The DriverID of the user selected camera. Null if the dialogue is cancelled.
See Also