DevicesStringToDeviceType Method
Convert a string device name to a
DeviceTypes enum value.
Namespace: ASCOM.CommonAssembly: ASCOM.Common (in ASCOM.Common.dll) Version: 4.0.0+77e18c564bf9ecdb0ef30166e894390d1b7d077c
public static DeviceTypes StringToDeviceType(
string device
)
Public Shared Function StringToDeviceType (
device As String
) As DeviceTypes
- device String
- Device type
DeviceTypesDeviceTypes enum value corresponding to the given string device name
Supported in: .NET Standard 2.0, .NET 8 .NET 9. .NET 10