Convertion ToUInt16 Method (Object, Nullable 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 Nullable<ushort> ToUInt16(
	Object value,
	Nullable<ushort> default
)

Parameters

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

Return Value

Type: Nullable UInt16 
See Also