Conversions Class
Provides methods that perform various type conversions.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | ChangeType(Object^, Type^) | Converts an object to the specified type. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() ![]() | FallbackUserDefinedConversion(Object^, Type^) | Obsolete. Converts an object to the specified type. |
![]() ![]() | FromCharAndCount(Char, Int32) | Converts a Char value to a string, given a byte count. |
![]() ![]() | FromCharArray(array<Char>^) | Converts a Char array to a string. |
![]() ![]() | FromCharArraySubset(array<Char>^, Int32, Int32) | Converts a subset of a Char array to a string. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() ![]() | ToBoolean(Object^) | Converts an object to a Boolean value. |
![]() ![]() | ToBoolean(String^) | Converts a string to a Boolean value. |
![]() ![]() | ToByte(Object^) | Converts an object to a Byte value. |
![]() ![]() | ToByte(String^) | Converts a string to a Byte value. |
![]() ![]() | ToChar(Object^) | Converts an object to a Char value. |
![]() ![]() | ToChar(String^) | Converts a string to a Char value. |
![]() ![]() | ToCharArrayRankOne(Object^) | Converts an object to a one-dimensional Char array. |
![]() ![]() | ToCharArrayRankOne(String^) | Converts a string to a one-dimensional Char array. |
![]() ![]() | ToDate(Object^) | Converts an object to a DateTime value. |
![]() ![]() | ToDate(String^) | Converts a string to a DateTime value. |
![]() ![]() | ToDecimal(Boolean) | |
![]() ![]() | ToDecimal(Object^) | Converts an object to a Decimal value. |
![]() ![]() | ToDecimal(String^) | Converts a string to a Decimal value. |
![]() ![]() | ToDouble(Object^) | Converts an object to a Double value. |
![]() ![]() | ToDouble(String^) | Converts a string to a Double value. |
![]() ![]() | ToGenericParameter<T>(Object^) | Converts an object to a generic type T. |
![]() ![]() | ToInteger(Object^) | Converts an object to an integer value. |
![]() ![]() | ToInteger(String^) | Converts a string to an integer value. |
![]() ![]() | ToLong(Object^) | Converts an object to a Long value. |
![]() ![]() | ToLong(String^) | Converts a string to a Long value. |
![]() ![]() | ToSByte(Object^) | Converts an object to an SByte value. |
![]() ![]() | ToSByte(String^) | Converts a string to an SByte value. |
![]() ![]() | ToShort(Object^) | Converts an object to a Short value. |
![]() ![]() | ToShort(String^) | Converts a string to a Short value. |
![]() ![]() | ToSingle(Object^) | Converts an object to a Single value. |
![]() ![]() | ToSingle(String^) | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() ![]() | ToString(Boolean) | |
![]() ![]() | ToString(Byte) | |
![]() ![]() | ToString(Char) | |
![]() ![]() | ToString(DateTime) | |
![]() ![]() | ToString(Decimal) | |
![]() ![]() | ToString(Decimal, NumberFormatInfo^) | |
![]() ![]() | ToString(Double) | |
![]() ![]() | ToString(Double, NumberFormatInfo^) | |
![]() ![]() | ToString(Int16) | Converts a Short value to a String value. |
![]() ![]() | ToString(Int32) | Converts an integer value to a String value. |
![]() ![]() | ToString(Int64) | Converts a Long value to a String value. |
![]() ![]() | ToString(Object^) | Converts an object to a String value. |
![]() ![]() | ToString(Single) | |
![]() ![]() | ToString(Single, NumberFormatInfo^) | |
![]() ![]() | ToString(UInt32) | Converts a uint value to a String value. |
![]() ![]() | ToString(UInt64) | Converts a Ulong value to a String value. |
![]() ![]() | ToUInteger(Object^) | Converts an object to a Uint value. |
![]() ![]() | ToUInteger(String^) | Converts a string to a Uint value. |
![]() ![]() | ToULong(Object^) | Converts an object to a Ulong value. |
![]() ![]() | ToULong(String^) | Converts a string to a Ulong value. |
![]() ![]() | ToUShort(Object^) | Converts an object to a Ushort value. |
![]() ![]() | ToUShort(String^) | Converts a string to a Ushort value. |
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone
Available since 8.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

