System.ComponentModel.UInt16Converter Class

Provides a type converter to convert 16-bit unsigned integer objects to and from other representations.

See Also: UInt16Converter Members


public class UInt16Converter : BaseNumberConverter


This converter can only convert a 16-bit unsigned integer object to and from a string.

The ushort value type represents unsigned integers with values ranging from 0 to 65535. This data type is not supported in Visual Basic.


You should never create an instance of a System.ComponentModel.UInt16Converter. Instead, call the TypeDescriptor.GetConverter(object) method of System.ComponentModel.TypeDescriptor. For more information, see the examples in the System.ComponentModel.TypeConverter base class and How to: Implement a Type Converter.


Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0,,