DevicesIsValidDeviceType Method
Confirms that the supplied device type is a valid ASCOM device type.
Namespace: ASCOM.CommonAssembly: ASCOM.Common (in ASCOM.Common.dll) Version: 4.0.0+77e18c564bf9ecdb0ef30166e894390d1b7d077c
public static bool IsValidDeviceType(
DeviceTypes deviceType
)
Public Shared Function IsValidDeviceType (
deviceType As DeviceTypes
) As Boolean
- deviceType DeviceTypes
- Device type name to assess.
BooleanReturns true if the supplied type is a valid ASCOM device type, otherwise returns false.
Supported in: .NET Standard 2.0, .NET 8 .NET 9. .NET 10