AlpacaSwitchCanWrite Method
Reports if the specified switch device can be written to, default true.
This is false if the device cannot be written to, for example a limit switch or a sensor.
Namespace: ASCOM.Alpaca.ClientsAssembly: ASCOM.Alpaca (in ASCOM.Alpaca.dll) Version: 4.0.0+77e18c564bf9ecdb0ef30166e894390d1b7d077c
public bool CanWrite(
short id
)
Public Function CanWrite (
id As Short
) As Boolean
- id Int16
- The device number (0 to MaxSwitch - 1)
Booleantrue if the device can be written to, otherwise
false.
ISwitchV2CanWrite(Int16) 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