DeviceIdAttribute Constructor
Namespace: ASCOMAssembly: ASCOM.Attributes (in ASCOM.Attributes.dll) Version: 7.1.3+4851.c5da65c2b
public DeviceIdAttribute(
string deviceId
)
Public Sub New (
deviceId As String
)
public:
DeviceIdAttribute(
String^ deviceId
)
Parameters
- deviceId String
- The ASCOM device ID (aka COM ProgID) to be associated with the class.
Recommended usage is:
[DeviceId("ASCOM.SuperDuper.Telescope", DeviceName="SuperDuper Deluxe")]
In the event that the DeviceName optional parameter is not set, it will return the DeviceId.