DevicesDeviceTypeToString Method

Convert a DeviceTypes enum value to a string

Definition

Namespace: ASCOM.Common
Assembly: ASCOM.Common (in ASCOM.Common.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public static string DeviceTypeToString(
	DeviceTypes deviceType
)

Parameters

deviceType  DeviceTypes
Device type

Return Value

String
String device type name corresponding to the given DeviceTypes enum value

Exceptions

InvalidValueExceptionIf the supplied device type is not valid.

Version Information

.NET Standard

Supported in: 2.0

See Also