AlpacaDiscoveryGetAscomDevicesAsArrayList Method

Returns an ArrayList of discovered ASCOM devices, of the specified device type, for use by COM clients

Definition

Namespace: ASCOM.Alpaca.Discovery
Assembly: ASCOM.Alpaca (in ASCOM.Alpaca.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public ArrayList GetAscomDevicesAsArrayList(
	DeviceTypes? deviceType
)

Parameters

deviceType  NullableDeviceTypes
The device type for which to search e.g. Telescope, Use to return devices of all types.

Return Value

ArrayList
ArrayList of AscomDeviceclasses

Remarks

This method is for use by COM clients because it is not possible to return a generic list, as used in GetAscomDevices(NullableDeviceTypes), through a COM interface. .NET clients should use GetAscomDevices(NullableDeviceTypes) instead of this method.

This method will return every discovered device, regardless of device type, if the supplied "deviceType" parameter is null.

Version Information

.NET Standard

Supported in: 2.0

See Also