SwitchGetSwitchName Method |
Return the name of switch device n. This method is mandatory.
Namespace:
ASCOM.DriverAccess
Assembly:
ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntaxpublic string GetSwitchName(
short id
)
Public Function GetSwitchName (
id As Short
) As String
public:
virtual String^ GetSwitchName(
short id
) sealed
Parameters
- id
- Type: SystemInt16
The device number to return
Return Value
Type:
String
The name of the device
Implements
ISwitchV2GetSwitchName(Int16)
Exceptions
See Also