Click or drag to resize

DevicesIsValidDeviceType Method

Confirms that the supplied device type is a valid ASCOM device type.

Namespace: ASCOM.DeviceInterface
Assembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 6.0.0.0 (6.6.9999.9999)
Syntax
public static bool IsValidDeviceType(
	DeviceType deviceType
)

Parameters

deviceType  DeviceType
Device type name to assess.

Return Value

Boolean
Returns true if the supplied type is a valid ASCOM device type, otherwise returns false.
See Also