Convert Methods

The Convert type exposes the following members.

  Name Description
Public method Static member ChangeType(Object, Type) Returns an object of the specified type and whose value is equivalent to the specified object.
Public method Static member ChangeType(Object, TypeCode) Returns an object of the specified type whose value is equivalent to the specified object.
Public method Static member ChangeType(Object, Type, IFormatProvider) Returns an object of the specified type whose value is equivalent to the specified object. A parameter supplies culture-specific formatting information.
Public method Static member ChangeType(Object, TypeCode, IFormatProvider) Returns an object of the specified type whose value is equivalent to the specified object. A parameter supplies culture-specific formatting information.
Public method Static member FromBase64CharArray Converts a subset of a Unicode character array, which encodes binary data as base-64 digits, to an equivalent 8-bit unsigned integer array. Parameters specify the subset in the input array and the number of elements to convert.
Public method Static member FromBase64String Converts the specified string, which encodes binary data as base-64 digits, to an equivalent 8-bit unsigned integer array.
Public method Static member GetTypeCode Returns the TypeCode for the specified object.
Public method Static member IsDBNull Returns an indication whether the specified object is of type DBNull.
Public method Static member ToBase64CharArray(Byte[], Int32, Int32, Char[], Int32) Converts a subset of an 8-bit unsigned integer array to an equivalent subset of a Unicode character array encoded with base-64 digits. Parameters specify the subsets as offsets in the input and output arrays, and the number of elements in the input array to convert.
Public method Static member ToBase64CharArray(Byte[], Int32, Int32, Char[], Int32, Base64FormattingOptions) Converts a subset of an 8-bit unsigned integer array to an equivalent subset of a Unicode character array encoded with base-64 digits. Parameters specify the subsets as offsets in the input and output arrays, the number of elements in the input array to convert, and whether line breaks are inserted in the output array.
Public method Static member ToBase64String(Byte[]) Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits.
Public method Static member ToBase64String(Byte[], Base64FormattingOptions) Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits. A parameter specifies whether to insert line breaks in the return value.
Public method Static member ToBase64String(Byte[], Int32, Int32) Converts a subset of an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits. Parameters specify the subset as an offset in the input array, and the number of elements in the array to convert.
Public method Static member ToBase64String(Byte[], Int32, Int32, Base64FormattingOptions) Converts a subset of an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits. Parameters specify the subset as an offset in the input array, the number of elements in the array to convert, and whether to insert line breaks in the return value.
Public method Static member ToBoolean(Boolean) Returns the specified Boolean value; no actual conversion is performed.
Public method Static member ToBoolean(Byte) Converts the value of the specified 8-bit unsigned integer to an equivalent Boolean value.
Public method Static member ToBoolean(Char) Calling this method always throws InvalidCastException.
Public method Static member ToBoolean(DateTime) Calling this method always throws InvalidCastException.
Public method Static member ToBoolean(Decimal) Converts the value of the specified decimal number to an equivalent Boolean value.
Public method Static member ToBoolean(Double) Converts the value of the specified double-precision floating-point number to an equivalent Boolean value.
Public method Static member ToBoolean(Int16) Converts the value of the specified 16-bit signed integer to an equivalent Boolean value.
Public method Static member ToBoolean(Int32) Converts the value of the specified 32-bit signed integer to an equivalent Boolean value.
Public method Static member ToBoolean(Int64) Converts the value of the specified 64-bit signed integer to an equivalent Boolean value.
Public method Static member ToBoolean(Object) Converts the value of a specified object to an equivalent Boolean value.
Public method Static member ToBoolean(SByte) Converts the value of the specified 8-bit signed integer to an equivalent Boolean value.
Public method Static member ToBoolean(Single) Converts the value of the specified single-precision floating-point number to an equivalent Boolean value.
Public method Static member ToBoolean(String) Converts the specified string representation of a logical value to its Boolean equivalent.
Public method Static member ToBoolean(UInt16) Converts the value of the specified 16-bit unsigned integer to an equivalent Boolean value.
Public method Static member ToBoolean(UInt32) Converts the value of the specified 32-bit unsigned integer to an equivalent Boolean value.
Public method Static member ToBoolean(UInt64) Converts the value of the specified 64-bit unsigned integer to an equivalent Boolean value.
Public method Static member ToBoolean(Object, IFormatProvider) Converts the value of the specified object to an equivalent Boolean value, using the specified culture-specific formatting information.
Public method Static member ToBoolean(String, IFormatProvider) Converts the specified string representation of a logical value to its Boolean equivalent, using the specified culture-specific formatting information.
Public method Static member ToByte(Boolean) Converts the specified Boolean value to the equivalent 8-bit unsigned integer.
Public method Static member ToByte(Byte) Returns the specified 8-bit unsigned integer; no actual conversion is performed.
Public method Static member ToByte(Char) Converts the value of the specified Unicode character to the equivalent 8-bit unsigned integer.
Public method Static member ToByte(DateTime) Calling this method always throws InvalidCastException.
Public method Static member ToByte(Decimal) Converts the value of the specified decimal number to an equivalent 8-bit unsigned integer.
Public method Static member ToByte(Double) Converts the value of the specified double-precision floating-point number to an equivalent 8-bit unsigned integer.
Public method Static member ToByte(Int16) Converts the value of the specified 16-bit signed integer to an equivalent 8-bit unsigned integer.
Public method Static member ToByte(Int32) Converts the value of the specified 32-bit signed integer to an equivalent 8-bit unsigned integer.
Public method Static member ToByte(Int64) Converts the value of the specified 64-bit signed integer to an equivalent 8-bit unsigned integer.
Public method Static member ToByte(Object) Converts the value of the specified object to an 8-bit unsigned integer.
Public method Static member ToByte(SByte) Converts the value of the specified 8-bit signed integer to an equivalent 8-bit unsigned integer.
Public method Static member ToByte(Single) Converts the value of the specified single-precision floating-point number to an equivalent 8-bit unsigned integer.
Public method Static member ToByte(String) Converts the specified string representation of a number to an equivalent 8-bit unsigned integer.
Public method Static member ToByte(UInt16) Converts the value of the specified 16-bit unsigned integer to an equivalent 8-bit unsigned integer.
Public method Static member ToByte(UInt32) Converts the value of the specified 32-bit unsigned integer to an equivalent 8-bit unsigned integer.
Public method Static member ToByte(UInt64) Converts the value of the specified 64-bit unsigned integer to an equivalent 8-bit unsigned integer.
Public method Static member ToByte(Object, IFormatProvider) Converts the value of the specified object to an 8-bit unsigned integer, using the specified culture-specific formatting information.
Public method Static member ToByte(String, IFormatProvider) Converts the specified string representation of a number to an equivalent 8-bit unsigned integer, using specified culture-specific formatting information.
Public method Static member ToByte(String, Int32) Converts the string representation of a number in a specified base to an equivalent 8-bit unsigned integer.
Public method Static member ToChar(Boolean) Calling this method always throws InvalidCastException.
Public method Static member ToChar(Byte) Converts the value of the specified 8-bit unsigned integer to its equivalent Unicode character.
Public method Static member ToChar(Char) Returns the specified Unicode character value; no actual conversion is performed.
Public method Static member ToChar(DateTime) Calling this method always throws InvalidCastException.
Public method Static member ToChar(Decimal) Calling this method always throws InvalidCastException.
Public method Static member ToChar(Double) Calling this method always throws InvalidCastException.
Public method Static member ToChar(Int16) Converts the value of the specified 16-bit signed integer to its equivalent Unicode character.
Public method Static member ToChar(Int32) Converts the value of the specified 32-bit signed integer to its equivalent Unicode character.
Public method Static member ToChar(Int64) Converts the value of the specified 64-bit signed integer to its equivalent Unicode character.
Public method Static member ToChar(Object) Converts the value of the specified object to a Unicode character.
Public method Static member ToChar(SByte) Converts the value of the specified 8-bit signed integer to its equivalent Unicode character.
Public method Static member ToChar(Single) Calling this method always throws InvalidCastException.
Public method Static member ToChar(String) Converts the first character of a specified string to a Unicode character.
Public method Static member ToChar(UInt16) Converts the value of the specified 16-bit unsigned integer to its equivalent Unicode character.
Public method Static member ToChar(UInt32) Converts the value of the specified 32-bit unsigned integer to its equivalent Unicode character.
Public method Static member ToChar(UInt64) Converts the value of the specified 64-bit unsigned integer to its equivalent Unicode character.
Public method Static member ToChar(Object, IFormatProvider) Converts the value of the specified object to its equivalent Unicode character, using the specified culture-specific formatting information.
Public method Static member ToChar(String, IFormatProvider) Converts the first character of a specified string to a Unicode character, using specified culture-specific formatting information.
Public method Static member ToDateTime(Boolean) Calling this method always throws InvalidCastException.
Public method Static member ToDateTime(Byte) Calling this method always throws InvalidCastException.
Public method Static member ToDateTime(Char) Calling this method always throws InvalidCastException.
Public method Static member ToDateTime(DateTime) Returns the specified DateTime object; no actual conversion is performed.
Public method Static member ToDateTime(Decimal) Calling this method always throws InvalidCastException.
Public method Static member ToDateTime(Double) Calling this method always throws InvalidCastException.
Public method Static member ToDateTime(Int16) Calling this method always throws InvalidCastException.
Public method Static member ToDateTime(Int32) Calling this method always throws InvalidCastException.
Public method Static member ToDateTime(Int64) Calling this method always throws InvalidCastException.
Public method Static member ToDateTime(Object) Converts the value of the specified object to a DateTime object.
Public method Static member ToDateTime(SByte) Calling this method always throws InvalidCastException.
Public method Static member ToDateTime(Single) Calling this method always throws InvalidCastException.
Public method Static member ToDateTime(String) Converts the specified string representation of a date and time to an equivalent date and time value.
Public method Static member ToDateTime(UInt16) Calling this method always throws InvalidCastException.
Public method Static member ToDateTime(UInt32) Calling this method always throws InvalidCastException.
Public method Static member ToDateTime(UInt64) Calling this method always throws InvalidCastException.
Public method Static member ToDateTime(Object, IFormatProvider) Converts the value of the specified object to a DateTime object, using the specified culture-specific formatting information.
Public method Static member ToDateTime(String, IFormatProvider) Converts the specified string representation of a number to an equivalent date and time, using the specified culture-specific formatting information.
Public method Static member ToDecimal(Boolean) Converts the specified Boolean value to the equivalent decimal number.
Public method Static member ToDecimal(Byte) Converts the value of the specified 8-bit unsigned integer to the equivalent decimal number.
Public method Static member ToDecimal(Char) Calling this method always throws InvalidCastException.
Public method Static member ToDecimal(DateTime) Calling this method always throws InvalidCastException.
Public method Static member ToDecimal(Decimal) Returns the specified decimal number; no actual conversion is performed.
Public method Static member ToDecimal(Double) Converts the value of the specified double-precision floating-point number to an equivalent decimal number.
Public method Static member ToDecimal(Int16) Converts the value of the specified 16-bit signed integer to an equivalent decimal number.
Public method Static member ToDecimal(Int32) Converts the value of the specified 32-bit signed integer to an equivalent decimal number.
Public method Static member ToDecimal(Int64) Converts the value of the specified 64-bit signed integer to an equivalent decimal number.
Public method Static member ToDecimal(Object) Converts the value of the specified object to an equivalent decimal number.
Public method Static member ToDecimal(SByte) Converts the value of the specified 8-bit signed integer to the equivalent decimal number.
Public method Static member ToDecimal(Single) Converts the value of the specified single-precision floating-point number to the equivalent decimal number.
Public method Static member ToDecimal(String) Converts the specified string representation of a number to an equivalent decimal number.
Public method Static member ToDecimal(UInt16) Converts the value of the specified 16-bit unsigned integer to an equivalent decimal number.
Public method Static member ToDecimal(UInt32) Converts the value of the specified 32-bit unsigned integer to an equivalent decimal number.
Public method Static member ToDecimal(UInt64) Converts the value of the specified 64-bit unsigned integer to an equivalent decimal number.
Public method Static member ToDecimal(Object, IFormatProvider) Converts the value of the specified object to an equivalent decimal number, using the specified culture-specific formatting information.
Public method Static member ToDecimal(String, IFormatProvider) Converts the specified string representation of a number to an equivalent decimal number, using the specified culture-specific formatting information.
Public method Static member ToDouble(Boolean) Converts the specified Boolean value to the equivalent double-precision floating-point number.
Public method Static member ToDouble(Byte) Converts the value of the specified 8-bit unsigned integer to the equivalent double-precision floating-point number.
Public method Static member ToDouble(Char) Calling this method always throws InvalidCastException.
Public method Static member ToDouble(DateTime) Calling this method always throws InvalidCastException.
Public method Static member ToDouble(Decimal) Converts the value of the specified decimal number to an equivalent double-precision floating-point number.
Public method Static member ToDouble(Double) Returns the specified double-precision floating-point number; no actual conversion is performed.
Public method Static member ToDouble(Int16) Converts the value of the specified 16-bit signed integer to an equivalent double-precision floating-point number.
Public method Static member ToDouble(Int32) Converts the value of the specified 32-bit signed integer to an equivalent double-precision floating-point number.
Public method Static member ToDouble(Int64) Converts the value of the specified 64-bit signed integer to an equivalent double-precision floating-point number.
Public method Static member ToDouble(Object) Converts the value of the specified object to a double-precision floating-point number.
Public method Static member ToDouble(SByte) Converts the value of the specified 8-bit signed integer to the equivalent double-precision floating-point number.
Public method Static member ToDouble(Single) Converts the value of the specified single-precision floating-point number to an equivalent double-precision floating-point number.
Public method Static member ToDouble(String) Converts the specified string representation of a number to an equivalent double-precision floating-point number.
Public method Static member ToDouble(UInt16) Converts the value of the specified 16-bit unsigned integer to the equivalent double-precision floating-point number.
Public method Static member ToDouble(UInt32) Converts the value of the specified 32-bit unsigned integer to an equivalent double-precision floating-point number.
Public method Static member ToDouble(UInt64) Converts the value of the specified 64-bit unsigned integer to an equivalent double-precision floating-point number.
Public method Static member ToDouble(Object, IFormatProvider) Converts the value of the specified object to an double-precision floating-point number, using the specified culture-specific formatting information.
Public method Static member ToDouble(String, IFormatProvider) Converts the specified string representation of a number to an equivalent double-precision floating-point number, using the specified culture-specific formatting information.
Public method Static member ToInt16(Boolean) Converts the specified Boolean value to the equivalent 16-bit signed integer.
Public method Static member ToInt16(Byte) Converts the value of the specified 8-bit unsigned integer to the equivalent 16-bit signed integer.
Public method Static member ToInt16(Char) Converts the value of the specified Unicode character to the equivalent 16-bit signed integer.
Public method Static member ToInt16(DateTime) Calling this method always throws InvalidCastException.
Public method Static member ToInt16(Decimal) Converts the value of the specified decimal number to an equivalent 16-bit signed integer.
Public method Static member ToInt16(Double) Converts the value of the specified double-precision floating-point number to an equivalent 16-bit signed integer.
Public method Static member ToInt16(Int16) Returns the specified 16-bit signed integer; no actual conversion is performed.
Public method Static member ToInt16(Int32) Converts the value of the specified 32-bit signed integer to an equivalent 16-bit signed integer.
Public method Static member ToInt16(Int64) Converts the value of the specified 64-bit signed integer to an equivalent 16-bit signed integer.
Public method Static member ToInt16(Object) Converts the value of the specified object to a 16-bit signed integer.
Public method Static member ToInt16(SByte) Converts the value of the specified 8-bit signed integer to the equivalent 16-bit signed integer.
Public method Static member ToInt16(Single) Converts the value of the specified single-precision floating-point number to an equivalent 16-bit signed integer.
Public method Static member ToInt16(String) Converts the specified string representation of a number to an equivalent 16-bit signed integer.
Public method Static member ToInt16(UInt16) Converts the value of the specified 16-bit unsigned integer to the equivalent 16-bit signed integer.
Public method Static member ToInt16(UInt32) Converts the value of the specified 32-bit unsigned integer to an equivalent 16-bit signed integer.
Public method Static member ToInt16(UInt64) Converts the value of the specified 64-bit unsigned integer to an equivalent 16-bit signed integer.
Public method Static member ToInt16(Object, IFormatProvider) Converts the value of the specified object to a 16-bit signed integer, using the specified culture-specific formatting information.
Public method Static member ToInt16(String, IFormatProvider) Converts the specified string representation of a number to an equivalent 16-bit signed integer, using the specified culture-specific formatting information.
Public method Static member ToInt16(String, Int32) Converts the string representation of a number in a specified base to an equivalent 16-bit signed integer.
Public method Static member ToInt32(Boolean) Converts the specified Boolean value to the equivalent 32-bit signed integer.
Public method Static member ToInt32(Byte) Converts the value of the specified 8-bit unsigned integer to the equivalent 32-bit signed integer.
Public method Static member ToInt32(Char) Converts the value of the specified Unicode character to the equivalent 32-bit signed integer.
Public method Static member ToInt32(DateTime) Calling this method always throws InvalidCastException.
Public method Static member ToInt32(Decimal) Converts the value of the specified decimal number to an equivalent 32-bit signed integer.
Public method Static member ToInt32(Double) Converts the value of the specified double-precision floating-point number to an equivalent 32-bit signed integer.
Public method Static member ToInt32(Int16) Converts the value of the specified 16-bit signed integer to an equivalent 32-bit signed integer.
Public method Static member ToInt32(Int32) Returns the specified 32-bit signed integer; no actual conversion is performed.
Public method Static member ToInt32(Int64) Converts the value of the specified 64-bit signed integer to an equivalent 32-bit signed integer.
Public method Static member ToInt32(Object) Converts the value of the specified object to a 32-bit signed integer.
Public method Static member ToInt32(SByte) Converts the value of the specified 8-bit signed integer to the equivalent 32-bit signed integer.
Public method Static member ToInt32(Single) Converts the value of the specified single-precision floating-point number to an equivalent 32-bit signed integer.
Public method Static member ToInt32(String) Converts the specified string representation of a number to an equivalent 32-bit signed integer.
Public method Static member ToInt32(UInt16) Converts the value of the specified 16-bit unsigned integer to the equivalent 32-bit signed integer.
Public method Static member ToInt32(UInt32) Converts the value of the specified 32-bit unsigned integer to an equivalent 32-bit signed integer.
Public method Static member ToInt32(UInt64) Converts the value of the specified 64-bit unsigned integer to an equivalent 32-bit signed integer.
Public method Static member ToInt32(Object, IFormatProvider) Converts the value of the specified object to a 32-bit signed integer, using the specified culture-specific formatting information.
Public method Static member ToInt32(String, IFormatProvider) Converts the specified string representation of a number to an equivalent 32-bit signed integer, using the specified culture-specific formatting information.
Public method Static member ToInt32(String, Int32) Converts the string representation of a number in a specified base to an equivalent 32-bit signed integer.
Public method Static member ToInt64(Boolean) Converts the specified Boolean value to the equivalent 64-bit signed integer.
Public method Static member ToInt64(Byte) Converts the value of the specified 8-bit unsigned integer to the equivalent 64-bit signed integer.
Public method Static member ToInt64(Char) Converts the value of the specified Unicode character to the equivalent 64-bit signed integer.
Public method Static member ToInt64(DateTime) Calling this method always throws InvalidCastException.
Public method Static member ToInt64(Decimal) Converts the value of the specified decimal number to an equivalent 64-bit signed integer.
Public method Static member ToInt64(Double) Converts the value of the specified double-precision floating-point number to an equivalent 64-bit signed integer.
Public method Static member ToInt64(Int16) Converts the value of the specified 16-bit signed integer to an equivalent 64-bit signed integer.
Public method Static member ToInt64(Int32) Converts the value of the specified 32-bit signed integer to an equivalent 64-bit signed integer.
Public method Static member ToInt64(Int64) Returns the specified 64-bit signed integer; no actual conversion is performed.
Public method Static member ToInt64(Object) Converts the value of the specified object to a 64-bit signed integer.
Public method Static member ToInt64(SByte) Converts the value of the specified 8-bit signed integer to the equivalent 64-bit signed integer.
Public method Static member ToInt64(Single) Converts the value of the specified single-precision floating-point number to an equivalent 64-bit signed integer.
Public method Static member ToInt64(String) Converts the specified string representation of a number to an equivalent 64-bit signed integer.
Public method Static member ToInt64(UInt16) Converts the value of the specified 16-bit unsigned integer to the equivalent 64-bit signed integer.
Public method Static member ToInt64(UInt32) Converts the value of the specified 32-bit unsigned integer to an equivalent 64-bit signed integer.
Public method Static member ToInt64(UInt64) Converts the value of the specified 64-bit unsigned integer to an equivalent 64-bit signed integer.
Public method Static member ToInt64(Object, IFormatProvider) Converts the value of the specified object to a 64-bit signed integer, using the specified culture-specific formatting information.
Public method Static member ToInt64(String, IFormatProvider) Converts the specified string representation of a number to an equivalent 64-bit signed integer, using the specified culture-specific formatting information.
Public method Static member ToInt64(String, Int32) Converts the string representation of a number in a specified base to an equivalent 64-bit signed integer.
Public method Static member ToSByte(Boolean) Converts the specified Boolean value to the equivalent 8-bit signed integer.
Public method Static member ToSByte(Byte) Converts the value of the specified 8-bit unsigned integer to the equivalent 8-bit signed integer.
Public method Static member ToSByte(Char) Converts the value of the specified Unicode character to the equivalent 8-bit signed integer.
Public method Static member ToSByte(DateTime) Calling this method always throws InvalidCastException.
Public method Static member ToSByte(Decimal) Converts the value of the specified decimal number to an equivalent 8-bit signed integer.
Public method Static member ToSByte(Double) Converts the value of the specified double-precision floating-point number to an equivalent 8-bit signed integer.
Public method Static member ToSByte(Int16) Converts the value of the specified 16-bit signed integer to the equivalent 8-bit signed integer.
Public method Static member ToSByte(Int32) Converts the value of the specified 32-bit signed integer to an equivalent 8-bit signed integer.
Public method Static member ToSByte(Int64) Converts the value of the specified 64-bit signed integer to an equivalent 8-bit signed integer.
Public method Static member ToSByte(Object) Converts the value of the specified object to an 8-bit signed integer.
Public method Static member ToSByte(SByte) Returns the specified 8-bit signed integer; no actual conversion is performed.
Public method Static member ToSByte(Single) Converts the value of the specified single-precision floating-point number to an equivalent 8-bit signed integer.
Public method Static member ToSByte(String) Converts the specified string representation of a number to an equivalent 8-bit signed integer.
Public method Static member ToSByte(UInt16) Converts the value of the specified 16-bit unsigned integer to the equivalent 8-bit signed integer.
Public method Static member ToSByte(UInt32) Converts the value of the specified 32-bit unsigned integer to an equivalent 8-bit signed integer.
Public method Static member ToSByte(UInt64) Converts the value of the specified 64-bit unsigned integer to an equivalent 8-bit signed integer.
Public method Static member ToSByte(Object, IFormatProvider) Converts the value of the specified object to an 8-bit signed integer, using the specified culture-specific formatting information.
Public method Static member ToSByte(String, IFormatProvider) Converts the specified string representation of a number to an equivalent 8-bit signed integer, using the specified culture-specific formatting information.
Public method Static member ToSByte(String, Int32) Converts the string representation of a number in a specified base to an equivalent 8-bit signed integer.
Public method Static member ToSingle(Boolean) Converts the specified Boolean value to the equivalent single-precision floating-point number.
Public method Static member ToSingle(Byte) Converts the value of the specified 8-bit unsigned integer to the equivalent single-precision floating-point number.
Public method Static member ToSingle(Char) Calling this method always throws InvalidCastException.
Public method Static member ToSingle(DateTime) Calling this method always throws InvalidCastException.
Public method Static member ToSingle(Decimal) Converts the value of the specified decimal number to an equivalent single-precision floating-point number.
Public method Static member ToSingle(Double) Converts the value of the specified double-precision floating-point number to an equivalent single-precision floating-point number.
Public method Static member ToSingle(Int16) Converts the value of the specified 16-bit signed integer to an equivalent single-precision floating-point number.
Public method Static member ToSingle(Int32) Converts the value of the specified 32-bit signed integer to an equivalent single-precision floating-point number.
Public method Static member ToSingle(Int64) Converts the value of the specified 64-bit signed integer to an equivalent single-precision floating-point number.
Public method Static member ToSingle(Object) Converts the value of the specified object to a single-precision floating-point number.
Public method Static member ToSingle(SByte) Converts the value of the specified 8-bit signed integer to the equivalent single-precision floating-point number.
Public method Static member ToSingle(Single) Returns the specified single-precision floating-point number; no actual conversion is performed.
Public method Static member ToSingle(String) Converts the specified string representation of a number to an equivalent single-precision floating-point number.
Public method Static member ToSingle(UInt16) Converts the value of the specified 16-bit unsigned integer to the equivalent single-precision floating-point number.
Public method Static member ToSingle(UInt32) Converts the value of the specified 32-bit unsigned integer to an equivalent single-precision floating-point number.
Public method Static member ToSingle(UInt64) Converts the value of the specified 64-bit unsigned integer to an equivalent single-precision floating-point number.
Public method Static member ToSingle(Object, IFormatProvider) Converts the value of the specified object to an single-precision floating-point number, using the specified culture-specific formatting information.
Public method Static member ToSingle(String, IFormatProvider) Converts the specified string representation of a number to an equivalent single-precision floating-point number, using the specified culture-specific formatting information.
Public method Static member ToString(Boolean) Converts the specified Boolean value to its equivalent string representation.
Public method Static member ToString(Byte) Converts the value of the specified 8-bit unsigned integer to its equivalent string representation.
Public method Static member ToString(Char) Converts the value of the specified Unicode character to its equivalent string representation.
Public method Static member ToString(DateTime) Converts the value of the specified DateTime to its equivalent string representation.
Public method Static member ToString(Decimal) Converts the value of the specified decimal number to its equivalent string representation.
Public method Static member ToString(Double) Converts the value of the specified double-precision floating-point number to its equivalent string representation.
Public method Static member ToString(Int16) Converts the value of the specified 16-bit signed integer to its equivalent string representation.
Public method Static member ToString(Int32) Converts the value of the specified 32-bit signed integer to its equivalent string representation.
Public method Static member ToString(Int64) Converts the value of the specified 64-bit signed integer to its equivalent string representation.
Public method Static member ToString(Object) Converts the value of the specified object to its equivalent string representation.
Public method Static member ToString(SByte) Converts the value of the specified 8-bit signed integer to its equivalent string representation.
Public method Static member ToString(Single) Converts the value of the specified single-precision floating-point number to its equivalent string representation.
Public method Static member ToString(String) Returns the specified string instance; no actual conversion is performed.
Public method Static member ToString(UInt16) Converts the value of the specified 16-bit unsigned integer to its equivalent string representation.
Public method Static member ToString(UInt32) Converts the value of the specified 32-bit unsigned integer to its equivalent string representation.
Public method Static member ToString(UInt64) Converts the value of the specified 64-bit unsigned integer to its equivalent string representation.
Public method Static member ToString(Boolean, IFormatProvider) Converts the specified Boolean value to its equivalent string representation.
Public method Static member ToString(Byte, IFormatProvider) Converts the value of the specified 8-bit unsigned integer to its equivalent string representation, using the specified culture-specific formatting information.
Public method Static member ToString(Byte, Int32) Converts the value of an 8-bit unsigned integer to its equivalent string representation in a specified base.
Public method Static member ToString(Char, IFormatProvider) Converts the value of the specified Unicode character to its equivalent string representation, using the specified culture-specific formatting information.
Public method Static member ToString(DateTime, IFormatProvider) Converts the value of the specified DateTime to its equivalent string representation, using the specified culture-specific formatting information.
Public method Static member ToString(Decimal, IFormatProvider) Converts the value of the specified decimal number to its equivalent string representation, using the specified culture-specific formatting information.
Public method Static member ToString(Double, IFormatProvider) Converts the value of the specified double-precision floating-point number to its equivalent string representation.
Public method Static member ToString(Int16, IFormatProvider) Converts the value of the specified 16-bit signed integer to its equivalent string representation, using the specified culture-specific formatting information.
Public method Static member ToString(Int16, Int32) Converts the value of a 16-bit signed integer to its equivalent string representation in a specified base.
Public method Static member ToString(Int32, IFormatProvider) Converts the value of the specified 32-bit signed integer to its equivalent string representation, using the specified culture-specific formatting information.
Public method Static member ToString(Int32, Int32) Converts the value of a 32-bit signed integer to its equivalent string representation in a specified base.
Public method Static member ToString(Int64, IFormatProvider) Converts the value of the specified 64-bit signed integer to its equivalent string representation, using the specified culture-specific formatting information.
Public method Static member ToString(Int64, Int32) Converts the value of a 64-bit signed integer to its equivalent string representation in a specified base.
Public method Static member ToString(Object, IFormatProvider) Converts the value of the specified object to its equivalent string representation using the specified culture-specific formatting information.
Public method Static member ToString(SByte, IFormatProvider) Converts the value of the specified 8-bit signed integer to its equivalent string representation, using the specified culture-specific formatting information.
Public method Static member ToString(Single, IFormatProvider) Converts the value of the specified single-precision floating-point number to its equivalent string representation, using the specified culture-specific formatting information.
Public method Static member ToString(String, IFormatProvider) Returns the specified string instance; no actual conversion is performed.
Public method Static member ToString(UInt16, IFormatProvider) Converts the value of the specified 16-bit unsigned integer to its equivalent string representation, using the specified culture-specific formatting information.
Public method Static member ToString(UInt32, IFormatProvider) Converts the value of the specified 32-bit unsigned integer to its equivalent string representation, using the specified culture-specific formatting information.
Public method Static member ToString(UInt64, IFormatProvider) Converts the value of the specified 64-bit unsigned integer to its equivalent string representation, using the specified culture-specific formatting information.
Public method Static member ToUInt16(Boolean) Converts the specified Boolean value to the equivalent 16-bit unsigned integer.
Public method Static member ToUInt16(Byte) Converts the value of the specified 8-bit unsigned integer to the equivalent 16-bit unsigned integer.
Public method Static member ToUInt16(Char) Converts the value of the specified Unicode character to the equivalent 16-bit unsigned integer.
Public method Static member ToUInt16(DateTime) Calling this method always throws InvalidCastException.
Public method Static member ToUInt16(Decimal) Converts the value of the specified decimal number to an equivalent 16-bit unsigned integer.
Public method Static member ToUInt16(Double) Converts the value of the specified double-precision floating-point number to an equivalent 16-bit unsigned integer.
Public method Static member ToUInt16(Int16) Converts the value of the specified 16-bit signed integer to the equivalent 16-bit unsigned integer.
Public method Static member ToUInt16(Int32) Converts the value of the specified 32-bit signed integer to an equivalent 16-bit unsigned integer.
Public method Static member ToUInt16(Int64) Converts the value of the specified 64-bit signed integer to an equivalent 16-bit unsigned integer.
Public method Static member ToUInt16(Object) Converts the value of the specified object to a 16-bit unsigned integer.
Public method Static member ToUInt16(SByte) Converts the value of the specified 8-bit signed integer to the equivalent 16-bit unsigned integer.
Public method Static member ToUInt16(Single) Converts the value of the specified single-precision floating-point number to an equivalent 16-bit unsigned integer.
Public method Static member ToUInt16(String) Converts the specified string representation of a number to an equivalent 16-bit unsigned integer.
Public method Static member ToUInt16(UInt16) Returns the specified 16-bit unsigned integer; no actual conversion is performed.
Public method Static member ToUInt16(UInt32) Converts the value of the specified 32-bit unsigned integer to an equivalent 16-bit unsigned integer.
Public method Static member ToUInt16(UInt64) Converts the value of the specified 64-bit unsigned integer to an equivalent 16-bit unsigned integer.
Public method Static member ToUInt16(Object, IFormatProvider) Converts the value of the specified object to a 16-bit unsigned integer, using the specified culture-specific formatting information.
Public method Static member ToUInt16(String, IFormatProvider) Converts the specified string representation of a number to an equivalent 16-bit unsigned integer, using the specified culture-specific formatting information.
Public method Static member ToUInt16(String, Int32) Converts the string representation of a number in a specified base to an equivalent 16-bit unsigned integer.
Public method Static member ToUInt32(Boolean) Converts the specified Boolean value to the equivalent 32-bit unsigned integer.
Public method Static member ToUInt32(Byte) Converts the value of the specified 8-bit unsigned integer to the equivalent 32-bit unsigned integer.
Public method Static member ToUInt32(Char) Converts the value of the specified Unicode character to the equivalent 32-bit unsigned integer.
Public method Static member ToUInt32(DateTime) Calling this method always throws InvalidCastException.
Public method Static member ToUInt32(Decimal) Converts the value of the specified decimal number to an equivalent 32-bit unsigned integer.
Public method Static member ToUInt32(Double) Converts the value of the specified double-precision floating-point number to an equivalent 32-bit unsigned integer.
Public method Static member ToUInt32(Int16) Converts the value of the specified 16-bit signed integer to the equivalent 32-bit unsigned integer.
Public method Static member ToUInt32(Int32) Converts the value of the specified 32-bit signed integer to an equivalent 32-bit unsigned integer.
Public method Static member ToUInt32(Int64) Converts the value of the specified 64-bit signed integer to an equivalent 32-bit unsigned integer.
Public method Static member ToUInt32(Object) Converts the value of the specified object to a 32-bit unsigned integer.
Public method Static member ToUInt32(SByte) Converts the value of the specified 8-bit signed integer to the equivalent 32-bit unsigned integer.
Public method Static member ToUInt32(Single) Converts the value of the specified single-precision floating-point number to an equivalent 32-bit unsigned integer.
Public method Static member ToUInt32(String) Converts the specified string representation of a number to an equivalent 32-bit unsigned integer.
Public method Static member ToUInt32(UInt16) Converts the value of the specified 16-bit unsigned integer to the equivalent 32-bit unsigned integer.
Public method Static member ToUInt32(UInt32) Returns the specified 32-bit unsigned integer; no actual conversion is performed.
Public method Static member ToUInt32(UInt64) Converts the value of the specified 64-bit unsigned integer to an equivalent 32-bit unsigned integer.
Public method Static member ToUInt32(Object, IFormatProvider) Converts the value of the specified object to a 32-bit unsigned integer, using the specified culture-specific formatting information.
Public method Static member ToUInt32(String, IFormatProvider) Converts the specified string representation of a number to an equivalent 32-bit unsigned integer, using the specified culture-specific formatting information.
Public method Static member ToUInt32(String, Int32) Converts the string representation of a number in a specified base to an equivalent 32-bit unsigned integer.
Public method Static member ToUInt64(Boolean) Converts the specified Boolean value to the equivalent 64-bit unsigned integer.
Public method Static member ToUInt64(Byte) Converts the value of the specified 8-bit unsigned integer to the equivalent 64-bit unsigned integer.
Public method Static member ToUInt64(Char) Converts the value of the specified Unicode character to the equivalent 64-bit unsigned integer.
Public method Static member ToUInt64(DateTime) Calling this method always throws InvalidCastException.
Public method Static member ToUInt64(Decimal) Converts the value of the specified decimal number to an equivalent 64-bit unsigned integer.
Public method Static member ToUInt64(Double) Converts the value of the specified double-precision floating-point number to an equivalent 64-bit unsigned integer.
Public method Static member ToUInt64(Int16) Converts the value of the specified 16-bit signed integer to the equivalent 64-bit unsigned integer.
Public method Static member ToUInt64(Int32) Converts the value of the specified 32-bit signed integer to an equivalent 64-bit unsigned integer.
Public method Static member ToUInt64(Int64) Converts the value of the specified 64-bit signed integer to an equivalent 64-bit unsigned integer.
Public method Static member ToUInt64(Object) Converts the value of the specified object to a 64-bit unsigned integer.
Public method Static member ToUInt64(SByte) Converts the value of the specified 8-bit signed integer to the equivalent 64-bit unsigned integer.
Public method Static member ToUInt64(Single) Converts the value of the specified single-precision floating-point number to an equivalent 64-bit unsigned integer.
Public method Static member ToUInt64(String) Converts the specified string representation of a number to an equivalent 64-bit unsigned integer.
Public method Static member ToUInt64(UInt16) Converts the value of the specified 16-bit unsigned integer to the equivalent 64-bit unsigned integer.
Public method Static member ToUInt64(UInt32) Converts the value of the specified 32-bit unsigned integer to an equivalent 64-bit unsigned integer.
Public method Static member ToUInt64(UInt64) Returns the specified 64-bit unsigned integer; no actual conversion is performed.
Public method Static member ToUInt64(Object, IFormatProvider) Converts the value of the specified object to a 64-bit unsigned integer, using the specified culture-specific formatting information.
Public method Static member ToUInt64(String, IFormatProvider) Converts the specified string representation of a number to an equivalent 64-bit unsigned integer, using the specified culture-specific formatting information.
Public method Static member ToUInt64(String, Int32) Converts the string representation of a number in a specified base to an equivalent 64-bit unsigned integer.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft