ISwitchV2GetSwitch Method
Return the state of switch device id as a boolean
Namespace: ASCOM.Common.DeviceInterfacesAssembly: ASCOM.Common (in ASCOM.Common.dll) Version: 4.1.0+517b408ca408f7a19aace78c1509f524714a3a13
bool GetSwitch(
short id
)
Function GetSwitch (
id As Short
) As Boolean
- id Int16
- The device number (0 to MaxSwitch - 1)
BooleanTrue or false
See this link for the canonical definition, which may include further information and implementation requirements:
Canonical DefinitionSupported in: .NET Standard 2.0, .NET 8 .NET 9. .NET 10