DevicesIsValidDeviceTypeName Method |
Confirms that the supplied device type string name is valid
Namespace: ASCOM.DeviceInterfaceAssembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 6.0.0.0 (6.6.9999.9999)
Syntaxpublic static bool IsValidDeviceTypeName(
string deviceTypeName
)
Public Shared Function IsValidDeviceTypeName (
deviceTypeName As String
) As Boolean
public:
static bool IsValidDeviceTypeName(
String^ deviceTypeName
)
Parameters
- deviceTypeName String
- Device type name as a string
Return Value
BooleanTrue if the supplied name is a valid ASCOM device type, otherwise returns false.
See Also