DevicesIsValidDeviceType Method

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

Definition

Namespace: ASCOM.Common
Assembly: ASCOM.Common (in ASCOM.Common.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public static bool IsValidDeviceType(
	DeviceTypes deviceType
)

Parameters

deviceType  DeviceTypes
Device type name to assess.

Return Value

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

Version Information

.NET Standard

Supported in: 2.0

See Also