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: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public string DeviceType { get; set; }
Visual Basic
Public Property DeviceType As String
	Get
	Set
Visual C++
public:
virtual property String^ DeviceType {
	String^ get () sealed;
	void set (String^ value) sealed;
}

Field Value

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

Return Value

The device type that has been set

Implements

IChooser..::..DeviceType

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.

Exceptions

ExceptionCondition
ASCOM.Utilities.Exceptions..::..InvalidValueExceptionThrown on setting the device type to empty string

See Also