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: 4.1.0+517b408ca408f7a19aace78c1509f524714a3a13
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

Supported in: .NET Standard 2.0, .NET 8 .NET 9. .NET 10

See Also