ArrayList RegisteredDevices(
string DeviceType
)Function RegisteredDevices (
DeviceType As String
) As ArrayListArrayList^ RegisteredDevices(
String^ DeviceType
)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.
| InvalidValueException | Throw if the supplied DeviceType is empty string or null value. |