Convert Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Converts to and from base64-encoded strings.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public static class Convert

The Convert type exposes the following members.

  NameDescription
Public methodStatic memberFromBase64CharArrayConverts 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 methodStatic memberFromBase64StringConverts the specified string, which encodes binary data as base-64 digits, to an equivalent 8-bit unsigned integer array.
Public methodStatic memberToBase64String(array<Byte>[]()[][])Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits.
Public methodStatic memberToBase64String(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 methodStatic memberToByteConverts the specified string representation of a number to an equivalent 8-bit unsigned integer.
Public methodStatic memberToCharConverts the value of the specified 16-bit unsigned integer to its equivalent Unicode character.
Public methodStatic memberToDoubleConverts the specified string representation of a number to an equivalent double-precision floating-point number.
Public methodStatic memberToInt16Converts the specified string representation of a number to an equivalent 16-bit signed integer.
Public methodStatic memberToInt32(String)Converts the specified string representation of a number to an equivalent 32-bit signed integer.
Public methodStatic memberToInt32(String, Int32)Converts the string representation of a number in a specified base to an equivalent 32-bit signed integer.
Public methodStatic memberToInt64Converts the specified string representation of a number to an equivalent 64-bit signed integer.
Public methodStatic memberToSByteConverts the specified string representation of a number to an equivalent 8-bit signed integer.
Public methodStatic memberToUInt16Converts the specified string representation of a number to an equivalent 16-bit unsigned integer.
Public methodStatic memberToUInt32Converts the specified string representation of a number to an equivalent 32-bit unsigned integer.
Public methodStatic memberToUInt64Converts the specified string representation of a number to an equivalent 64-bit unsigned integer.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: