Click or drag to resize

ChooserDeviceType Property

The type of device for which the Chooser will select a driver. (String, default = "Telescope")

Namespace:  ASCOM.Utilities
Assembly:  ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 3c9121baba46811fe6e53a58a05935662261416d
Syntax
public string DeviceType { get; set; }

Property Value

Type: String
The type of device for which the Chooser will select a driver. (String, default = "Telescope")

Return Value

Type: String
The device type that has been set
Exceptions
ExceptionCondition
InvalidValueExceptionThrown on setting the device type to empty string
Remarks
This property changes the "personality" of the Chooser, allowing it to be used to select a driver for any arbitrary ASCOM device type. The default value for this is "Telescope", but it could be "Focuser", "Camera", etc.

This property is independent of the Profile object's DeviceType property. Setting Chooser's DeviceType property doesn't set the DeviceType property in Profile, you must set that also when needed.

See Also