ISwitchV2.MaxSwitch Property
Click or drag to resize

ISwitchV2MaxSwitch Property

The number of switch devices managed by this driver

Namespace:  ASCOM.DeviceInterface
Assembly:  ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 6.0.0.0 (6.4.0.2624)
Syntax
short MaxSwitch { get; }

Return Value

Type: Int16
The number of devices managed by this driver.
Remarks

Must be implemented, must not throw a PropertyNotImplementedException

Devices are numbered from 0 to MaxSwitch - 1

See Also