System.Runtime.Serialization.IFormatterConverter Members

The members of System.Runtime.Serialization.IFormatterConverter are listed below.

Public Methods

Convert(object, Type) : object

Converts a value to the given Type.

Convert(object, TypeCode) : object

Converts a value to the given TypeCode.

ToBoolean(object) : bool

Converts a value to a bool.

ToByte(object) : byte

Converts a value to an 8-bit unsigned integer.

ToChar(object) : char

Converts a value to a Unicode character.

ToDateTime(object) : DateTime

Converts a value to a DateTime.

ToDecimal(object) : decimal

Converts a value to a decimal.

ToDouble(object) : double

Converts a value to a double-precision floating-point number.

ToInt16(object) : short

Converts a value to a 16-bit signed integer.

ToInt32(object) : int

Converts a value to a 32-bit signed integer.

ToInt64(object) : long

Converts a value to a 64-bit signed integer.

ToSByte(object) : sbyte

Converts a value to a sbyte.

ToSingle(object) : float

Converts a value to a single-precision floating-point number.

ToString(object) : string

Converts a value to a string.

ToUInt16(object) : ushort

Converts a value to a 16-bit unsigned integer.

ToUInt32(object) : uint

Converts a value to a 32-bit unsigned integer.

ToUInt64(object) : ulong

Converts a value to a 64-bit unsigned integer.