Click or drag to resize

SwitchMaxSwitch Property

Return the number of switch devices managed by this driver

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

Return Value

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

Implements

ISwitchV2MaxSwitch
Remarks

Must be implemented, must not throw an MethodNotImplementedException

Devices are numbered from 0 to MaxSwitch - 1

See Also