The Switch type exposes the following members.

Properties

  NameDescription
Public propertyConnected
Set True to connect to the device. Set False to disconnect from the device. You can also read the property to check whether it is connected.
(Inherited from AscomDriver.)
Public propertyDescription
Returns a description of the device, such as manufacturer and modelnumber. Any ASCII characters may be used.
(Inherited from AscomDriver.)
Public propertyDriverInfo
Descriptive and version information about this ASCOM driver.
(Inherited from AscomDriver.)
Public propertyDriverVersion
A string containing only the major and minor version of the driver.
(Inherited from AscomDriver.)
Public propertyInterfaceVersion
The interface version number that this device supports.
(Inherited from AscomDriver.)
Public propertyMaxSwitch
Return the number of switch devices managed by this driver
Public propertyName
The short name of the driver, for display purposes
(Inherited from AscomDriver.)
Public propertySupportedActions
Returns the list of action names supported by this driver.
(Inherited from AscomDriver.)

See Also