FormatterConverter FormatterConverter FormatterConverter FormatterConverter Class

Definition

Represents a base implementation of the IFormatterConverter interface that uses the Convert class and the IConvertible interface.

public ref class FormatterConverter : System::Runtime::Serialization::IFormatterConverter
[System.Runtime.InteropServices.ComVisible(true)]
public class FormatterConverter : System.Runtime.Serialization.IFormatterConverter
type FormatterConverter = class
    interface IFormatterConverter
Public Class FormatterConverter
Implements IFormatterConverter
Inheritance
FormatterConverterFormatterConverterFormatterConverterFormatterConverter
Attributes
Implements

Constructors

FormatterConverter() FormatterConverter() FormatterConverter() FormatterConverter()

Initializes a new instance of the FormatterConverter class.

Methods

Convert(Object, Type) Convert(Object, Type) Convert(Object, Type) Convert(Object, Type)

Converts a value to the given Type.

Convert(Object, TypeCode) Convert(Object, TypeCode) Convert(Object, TypeCode) Convert(Object, TypeCode)

Converts a value to the given TypeCode.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToBoolean(Object) ToBoolean(Object) ToBoolean(Object) ToBoolean(Object)

Converts a value to a Boolean.

ToByte(Object) ToByte(Object) ToByte(Object) ToByte(Object)

Converts a value to an 8-bit unsigned integer.

ToChar(Object) ToChar(Object) ToChar(Object) ToChar(Object)

Converts a value to a Unicode character.

ToDateTime(Object) ToDateTime(Object) ToDateTime(Object) ToDateTime(Object)

Converts a value to a DateTime.

ToDecimal(Object) ToDecimal(Object) ToDecimal(Object) ToDecimal(Object)

Converts a value to a Decimal.

ToDouble(Object) ToDouble(Object) ToDouble(Object) ToDouble(Object)

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

ToInt16(Object) ToInt16(Object) ToInt16(Object) ToInt16(Object)

Converts a value to a 16-bit signed integer.

ToInt32(Object) ToInt32(Object) ToInt32(Object) ToInt32(Object)

Converts a value to a 32-bit signed integer.

ToInt64(Object) ToInt64(Object) ToInt64(Object) ToInt64(Object)

Converts a value to a 64-bit signed integer.

ToSByte(Object) ToSByte(Object) ToSByte(Object) ToSByte(Object)

Converts a value to a SByte.

ToSingle(Object) ToSingle(Object) ToSingle(Object) ToSingle(Object)

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

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
ToString(Object) ToString(Object) ToString(Object) ToString(Object)

Converts the specified object to a String.

ToUInt16(Object) ToUInt16(Object) ToUInt16(Object) ToUInt16(Object)

Converts a value to a 16-bit unsigned integer.

ToUInt32(Object) ToUInt32(Object) ToUInt32(Object) ToUInt32(Object)

Converts a value to a 32-bit unsigned integer.

ToUInt64(Object) ToUInt64(Object) ToUInt64(Object) ToUInt64(Object)

Converts a value to a 64-bit unsigned integer.

Applies to