System.IConvertible.ToUInt16 Method

Converts the value of this instance to an equivalent 16-bit unsigned integer using the specified culture-specific formatting information.

Syntax

public ushort ToUInt16 (IFormatProvider provider)

Parameters

provider
An IFormatProvider interface implementation that supplies culture-specific formatting information.

Returns

An 16-bit unsigned integer equivalent to the value of this instance.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0