SwitchCanWrite 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.Com.DriverAccessAssembly: ASCOM.Com (in ASCOM.Com.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
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: 2.0