DevicesIsValidDeviceType Method |
Confirms that the supplied device type is a valid ASCOM device type.
Namespace: ASCOM.DeviceInterfaceAssembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 6.0.0.0 (6.6.9999.9999)
Syntaxpublic static bool IsValidDeviceType(
DeviceType deviceType
)
Public Shared Function IsValidDeviceType (
deviceType As DeviceType
) As Boolean
public:
static bool IsValidDeviceType(
DeviceType deviceType
)
Parameters
- deviceType DeviceType
- Device type name to assess.
Return Value
BooleanReturns true if the supplied type is a valid ASCOM device type, otherwise returns false.
See Also