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