Creates a Switch object with the given Prog ID

Namespace: ASCOM.DriverAccess
Assembly: ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public Switch(
	string switchId
)
Visual Basic
Public Sub New ( _
	switchId As String _
)
Visual C++
public:
Switch(
	String^ switchId
)

Parameters

switchId
Type: System..::..String
ProgID of the Switch device to be accessed.

See Also