This documentation is archived and is not being maintained.
Conversions Class
Visual Studio 2010
Provides methods that perform various type conversions.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
The Conversions type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | ChangeType | Converts an object to the specified type. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() ![]() | FallbackUserDefinedConversion | Obsolete. Executes a late-bound call to a user-defined conversion expression. This helper method is not meant to be called directly from your code. |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | FromCharAndCount | Converts a Char value to a string, given a byte count. |
![]() ![]() | FromCharArray | Converts a Char array to a string. |
![]() ![]() | FromCharArraySubset | Converts a subset of a Char array to a string. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | 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) | Converts a Boolean value to a Decimal value. |
![]() ![]() | 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> | 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) | Converts a String to a Single value. |
![]() | ToString() | Returns a string that represents the current object. (Inherited from Object.) |
![]() ![]() | ToString(Boolean) | Converts a Boolean value to a String. |
![]() ![]() | ToString(Byte) | Converts a Byte value to a String. |
![]() ![]() | ToString(Char) | Converts a Char value to a String. |
![]() ![]() | ToString(DateTime) | Converts a DateTime value to a String value. |
![]() ![]() | ToString(Decimal) | Converts a Decimal value to a String value. |
![]() ![]() | ToString(Double) | Converts a Double value to a String value. |
![]() ![]() | 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) | Converts a Single value (a single-precision floating point number) to a String value. |
![]() ![]() | ToString(UInt32) | Converts a uint value to a String value. |
![]() ![]() | ToString(UInt64) | Converts a Ulong value to a String value. |
![]() ![]() | ToString(Decimal, NumberFormatInfo) | Converts a Decimal value to a String value, using the specified number format. |
![]() ![]() | ToString(Double, NumberFormatInfo) | Converts a Double value to a String value, using the specified number format. |
![]() ![]() | ToString(Single, NumberFormatInfo) | Converts a Single value to a String value, using the specified number format. |
![]() ![]() | 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. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
