List the devices of a given device type that are registered in the Profile store

Namespace: ASCOM.Utilities
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public ArrayList RegisteredDevices(
	string DeviceType
)
Visual Basic
Public Function RegisteredDevices ( _
	DeviceType As String _
) As ArrayList
Visual C++
public:
virtual ArrayList^ RegisteredDevices(
	String^ DeviceType
) sealed

Parameters

DeviceType
Type: System..::..String
Type of devices to list

Return Value

An ArrayList of installed devices and associated device descriptions

Implements

IProfile..::..RegisteredDevices(String)

Remarks

Use this to find all the registerd devices of a given type that are in the Profile store

If a DeviceType is supplied, where no device of that type has been registered before on this system, an empty list will be returned

Exceptions

ExceptionCondition
ASCOM.Utilities.Exceptions..::..InvalidValueExceptionThrow if the supplied DeviceType is empty string or null value.

See Also