Convertion ToUInt16 Method (Object, UInt16)Nemiro.Convertion
Converts the value of the specified object to a 16-bit unsigned integer.

Namespace: Nemiro
Assembly: Nemiro.Convertion (in Nemiro.Convertion.dll) Version: 2.1.4.402 (2.1.4.402)
Syntax

public static ushort ToUInt16(
	Object value,
	ushort default
)

Parameters

value
Type: System Object
The value to convert.
default
Type: System UInt16
The default value is to be returned in the case of conversion errors.

Return Value

Type: UInt16
See Also