SwitchSetSwitchName Method |
Sets a switch device name to a specified value. If the device name cannot
be set by the application this must return the
MethodNotImplementedException .
Namespace:
ASCOM.DriverAccess
Assembly:
ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntaxpublic void SetSwitchName(
short id,
string name
)
Public Sub SetSwitchName (
id As Short,
name As String
)
public:
virtual void SetSwitchName(
short id,
String^ name
) sealed
Parameters
- id
- Type: SystemInt16
The number of the device whose name is to be set - name
- Type: SystemString
The name of the device
Implements
ISwitchV2SetSwitchName(Int16, String)
Exceptions
See Also