Bridge

Convert Members

The Convert type exposes the following members.

Methods


  Name Description
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 ToBase64CharArray(array<Byte>[]()[][], Int32, Int32, array<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(array<Byte>[]()[][], Int32, Int32, array<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(array<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(array<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(array<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(array<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(Object)
Converts the value of a specified object to an equivalent Boolean value. Note: Calling this method for [char] and [DateTime] values always throws InvalidCastException.
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. Note: Calling this method for [char] and [DateTime] values always throws InvalidCastException.
Public method Static member ToByte(Object)
Converts the value of the specified object to an 8-bit unsigned integer. Note: Calling this method for [DateTime] value always throws InvalidCastException.
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. Note: Calling this method for [DateTime] value always throws InvalidCastException.
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(Object)
Converts the value of the specified object to a Unicode character. Note: Calling this method for [bool], [float], [double], [decimal] and [DateTime] values always throws InvalidCastException.
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. Note: Calling this method for [bool], [float], [double], [decimal] and [DateTime] values always throws InvalidCastException.
Public method Static member ToChar(Boolean)
Calling this method always throws InvalidCastException.
Public method Static member ToChar(Char)
Returns the specified Unicode character value; no actual conversion is performed.
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(Byte)
Converts the value of the specified 8-bit unsigned integer to its equivalent Unicode character.
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(UInt16)
Converts the value of the specified 16-bit unsigned 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(UInt32)
Converts the value of the specified 32-bit unsigned 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(UInt64)
Converts the value of the specified 64-bit unsigned integer to its equivalent Unicode character.
Public method Static member ToChar(String)
Converts the value of the specified object to a Unicode character.
Public method Static member ToChar(String, 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(Single)
Calling this method always throws InvalidCastException.
Public method Static member ToChar(Double)
Calling this method always throws InvalidCastException.
Public method Static member ToChar(Decimal)
Calling this method always throws InvalidCastException.
Public method Static member ToChar(DateTime)
Calling this method always throws InvalidCastException.
Public method Static member ToDateTime(Object)
Converts the value of the specified object to a DateTime object. Note: Calling this method for built-in types (except [DateTime], [string]) 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. Note: Calling this method for built-in types (except [DateTime], [string]) always throws InvalidCastException.
Public method Static member ToDecimal(Object)
Converts the value of the specified object to an equivalent decimal number. Note: Calling this method for [DateTime] value always throws InvalidCastException.
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. Note: Calling this method for [DateTime] value always throws InvalidCastException.
Public method Static member ToDouble(Object)
Converts the value of the specified object to a double-precision floating-point number. Note: Calling this method for [DateTime] value always throws InvalidCastException.
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. Note: Calling this method for [DateTime] value always throws InvalidCastException.
Public method Static member ToInt16(Object)
Converts the value of the specified object to a 16-bit signed integer. Note: Calling this method for [DateTime] value always throws InvalidCastException.
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. Note: Calling this method for [DateTime] value always throws InvalidCastException.
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(Object)
Converts the value of the specified object to a 32-bit signed integer. Note: Calling this method for [DateTime] value always throws InvalidCastException.
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. Note: Calling this method for [DateTime] value always throws InvalidCastException.
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(Object)
Converts the value of the specified object to a 64-bit signed integer. Note: Calling this method for [DateTime] value always throws InvalidCastException.
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. Note: Calling this method for [DateTime] value always throws InvalidCastException.
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(Object)
Converts the value of the specified object to an 8-bit signed integer. Note: Calling this method for [DateTime] value always throws InvalidCastException.
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. Note: Calling this method for [DateTime] value always throws InvalidCastException.
Public method Static member ToSByte(String)
Converts the value of the specified object to an 8-bit signed integer.
Public method Static member ToSByte(String, 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, Int32)
Converts the string representation of a number in a specified base to an equivalent 8-bit signed integer.
Public method Static member ToSingle(Object)
Converts the value of the specified object to a single-precision floating-point number. Note: Calling this method for [DateTime] value always throws InvalidCastException.
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. Note: Calling this method for [DateTime] value always throws InvalidCastException.
Public method Static member ToString(Object)
Converts the value of the specified object to its equivalent string representation.
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(Char)
Converts the value of the specified object to its equivalent string representation.
Public method Static member ToString(Char, 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(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(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, 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, Int32)
Converts the value of a 64-bit signed integer to its equivalent string representation in a specified base.
Public method Static member ToUInt16(Object)
Converts the value of the specified object to a 16-bit unsigned integer. Note: Calling this method for [DateTime] value always throws InvalidCastException.
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. Note: Calling this method for [DateTime] value always throws InvalidCastException.
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(Object)
Converts the value of the specified object to a 32-bit unsigned integer. Note: Calling this method for [DateTime] value always throws InvalidCastException.
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. Note: Calling this method for [DateTime] value always throws InvalidCastException.
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(Object)
Converts the value of the specified object to a 64-bit unsigned integer. Note: Calling this method for [DateTime] value always throws InvalidCastException.
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. Note: Calling this method for [DateTime] value always throws InvalidCastException.
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.