BatteryInfoValueOf Method |
Returns the enum constant of this type with the specified name.
Namespace:
Com.Datalogic.Device.Battery
Assembly:
datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static BatteryInfo ValueOf(
string name
)
Public Shared Function ValueOf (
name As String
) As BatteryInfo
Parameters
- name
- Type: SystemString
- the name of the enum constant to be returned.
Return Value
Type:
BatteryInfothe enum constant with the specified name
Remarks Returns the enum constant of this type with the specified name.
The string must match exactly
an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
[Android Documentation]
See Also