Share via


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.

Inheritance Hierarchy

System. . :: . .Object
  System..::..Convert

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

Syntax

'Declaration
Public NotInheritable Class Convert
public static class Convert
public ref class Convert abstract sealed
[<AbstractClass>]
[<Sealed>]
type Convert =  class end
public final class Convert

The Convert type exposes the following members.

Methods

  Name Description
Public methodStatic 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 methodStatic member FromBase64String Converts the specified string, which encodes binary data as base-64 digits, to an equivalent 8-bit unsigned integer array.
Public methodStatic 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 methodStatic 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 methodStatic member ToByte Converts the specified string representation of a number to an equivalent 8-bit unsigned integer.
Public methodStatic member ToChar Converts the value of the specified 16-bit unsigned integer to its equivalent Unicode character.
Public methodStatic member ToDouble Converts the specified string representation of a number to an equivalent double-precision floating-point number.
Public methodStatic member ToInt16 Converts the specified string representation of a number to an equivalent 16-bit signed integer.
Public methodStatic member ToInt32(String) Converts the specified string representation of a number to an equivalent 32-bit signed integer.
Public methodStatic member ToInt32(String, Int32) Converts the string representation of a number in a specified base to an equivalent 32-bit signed integer.
Public methodStatic member ToInt64 Converts the specified string representation of a number to an equivalent 64-bit signed integer.
Public methodStatic member ToSByte Converts the specified string representation of a number to an equivalent 8-bit signed integer.
Public methodStatic member ToUInt16 Converts the specified string representation of a number to an equivalent 16-bit unsigned integer.
Public methodStatic member ToUInt32 Converts the specified string representation of a number to an equivalent 32-bit unsigned integer.
Public methodStatic member ToUInt64 Converts the specified string representation of a number to an equivalent 64-bit unsigned integer.

Top

Thread Safety

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

See Also

Reference

System Namespace