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.1.1.2619)

Syntax

C#
public short MaxSwitch { get; }
Visual Basic
Public ReadOnly Property MaxSwitch As Short
	Get
Visual C++
public:
virtual property short MaxSwitch {
	short get () sealed;
}

Return Value

The number of devices managed by this driver.

Implements

ISwitchV2..::..MaxSwitch

Remarks

Must be implemented, must not throw an MethodNotImplementedException

Devices are numbered from 0 to MaxSwitch - 1

See Also