IFormatterConverter Interface

Definition

Important

This API is not CLS-compliant.

Provides the connection between an instance of SerializationInfo and the formatter-provided class best suited to parse the data inside the SerializationInfo.

public interface class IFormatterConverter
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
public interface IFormatterConverter
type IFormatterConverter = interface
Public Interface IFormatterConverter
Derived
Attributes

Methods

Convert(Object, Type)

Converts a value to the given Type.

Convert(Object, TypeCode)

Converts a value to the given TypeCode.

ToBoolean(Object)

Converts a value to a Boolean.

ToByte(Object)

Converts a value to an 8-bit unsigned integer.

ToChar(Object)

Converts a value to a Unicode character.

ToDateTime(Object)

Converts a value to a DateTime.

ToDecimal(Object)

Converts a value to a Decimal.

ToDouble(Object)

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

ToInt16(Object)

Converts a value to a 16-bit signed integer.

ToInt32(Object)

Converts a value to a 32-bit signed integer.

ToInt64(Object)

Converts a value to a 64-bit signed integer.

ToSByte(Object)

Converts a value to a SByte.

ToSingle(Object)

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

ToString(Object)

Converts a value to a String.

ToUInt16(Object)

Converts a value to a 16-bit unsigned integer.

ToUInt32(Object)

Converts a value to a 32-bit unsigned integer.

ToUInt64(Object)

Converts a value to a 64-bit unsigned integer.

Applies to