Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 184.108.40.206 (220.127.116.1119)
- Type: System..::..String
Type of devices to list
Return ValueAn ArrayList of KeyValuePair objects of installed devices and associated device descriptions
If a DeviceType is supplied, where no device of that type has been registered before on this system, an empty list will be returned
Platform 6 Profile.RegisteredDevices was introduced in Platform 5.5 as a read only property that took DeviceType as a parameter, which is legal syntax in Visual Basic .NET but is not interpreted correctly in C#. Consequently, a breaking change has been introduced in Platform 6 that changes the property into a parameterised method which works correctly in all .NET languages.
This change does not require you to alter your source code but you may need to recompile your application under Platform 6 to ensure that there are no runtime errors.
|ASCOM.Utilities.Exceptions..::..InvalidValueException||Throw if the supplied DeviceType is empty string or null value.|