Conversions Class

 

Provides methods that perform various type conversions.

Namespace:   Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

System::Object
  Microsoft.VisualBasic.CompilerServices::Conversions

public ref class Conversions sealed 

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticChangeType(Object^, Type^)

Converts an object to the specified type.

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticFallbackUserDefinedConversion(Object^, Type^)

Obsolete. Converts an object to the specified type.

System_CAPS_pubmethodSystem_CAPS_staticFromCharAndCount(Char, Int32)

Converts a Char value to a string, given a byte count.

System_CAPS_pubmethodSystem_CAPS_staticFromCharArray(array<Char>^)

Converts a Char array to a string.

System_CAPS_pubmethodSystem_CAPS_staticFromCharArraySubset(array<Char>^, Int32, Int32)

Converts a subset of a Char array to a string.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticToBoolean(Object^)

Converts an object to a Boolean value.

System_CAPS_pubmethodSystem_CAPS_staticToBoolean(String^)

Converts a string to a Boolean value.

System_CAPS_pubmethodSystem_CAPS_staticToByte(Object^)

Converts an object to a Byte value.

System_CAPS_pubmethodSystem_CAPS_staticToByte(String^)

Converts a string to a Byte value.

System_CAPS_pubmethodSystem_CAPS_staticToChar(Object^)

Converts an object to a Char value.

System_CAPS_pubmethodSystem_CAPS_staticToChar(String^)

Converts a string to a Char value.

System_CAPS_pubmethodSystem_CAPS_staticToCharArrayRankOne(Object^)

Converts an object to a one-dimensional Char array.

System_CAPS_pubmethodSystem_CAPS_staticToCharArrayRankOne(String^)

Converts a string to a one-dimensional Char array.

System_CAPS_pubmethodSystem_CAPS_staticToDate(Object^)

Converts an object to a DateTime value.

System_CAPS_pubmethodSystem_CAPS_staticToDate(String^)

Converts a string to a DateTime value.

System_CAPS_pubmethodSystem_CAPS_staticToDecimal(Boolean)

Converts a Boolean value to a Decimal value.

System_CAPS_pubmethodSystem_CAPS_staticToDecimal(Object^)

Converts an object to a Decimal value.

System_CAPS_pubmethodSystem_CAPS_staticToDecimal(String^)

Converts a string to a Decimal value.

System_CAPS_pubmethodSystem_CAPS_staticToDouble(Object^)

Converts an object to a Double value.

System_CAPS_pubmethodSystem_CAPS_staticToDouble(String^)

Converts a string to a Double value.

System_CAPS_pubmethodSystem_CAPS_staticToGenericParameter<T>(Object^)

Converts an object to a generic type T.

System_CAPS_pubmethodSystem_CAPS_staticToInteger(Object^)

Converts an object to an integer value.

System_CAPS_pubmethodSystem_CAPS_staticToInteger(String^)

Converts a string to an integer value.

System_CAPS_pubmethodSystem_CAPS_staticToLong(Object^)

Converts an object to a Long value.

System_CAPS_pubmethodSystem_CAPS_staticToLong(String^)

Converts a string to a Long value.

System_CAPS_pubmethodSystem_CAPS_staticToSByte(Object^)

Converts an object to an SByte value.

System_CAPS_pubmethodSystem_CAPS_staticToSByte(String^)

Converts a string to an SByte value.

System_CAPS_pubmethodSystem_CAPS_staticToShort(Object^)

Converts an object to a Short value.

System_CAPS_pubmethodSystem_CAPS_staticToShort(String^)

Converts a string to a Short value.

System_CAPS_pubmethodSystem_CAPS_staticToSingle(Object^)

Converts an object to a Single value.

System_CAPS_pubmethodSystem_CAPS_staticToSingle(String^)

Converts a String to a Single value.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticToString(Boolean)

Converts a Boolean value to a String.

System_CAPS_pubmethodSystem_CAPS_staticToString(Byte)

Converts a Byte value to a String.

System_CAPS_pubmethodSystem_CAPS_staticToString(Char)

Converts a Char value to a String.

System_CAPS_pubmethodSystem_CAPS_staticToString(DateTime)

Converts a DateTime value to a String value.

System_CAPS_pubmethodSystem_CAPS_staticToString(Decimal)

Converts a Decimal value to a String value.

System_CAPS_pubmethodSystem_CAPS_staticToString(Decimal, NumberFormatInfo^)

Converts a Decimal value to a String value, using the specified number format.

System_CAPS_pubmethodSystem_CAPS_staticToString(Double)

Converts a Double value to a String value.

System_CAPS_pubmethodSystem_CAPS_staticToString(Double, NumberFormatInfo^)

Converts a Double value to a String value, using the specified number format.

System_CAPS_pubmethodSystem_CAPS_staticToString(Int16)

Converts a Short value to a String value.

System_CAPS_pubmethodSystem_CAPS_staticToString(Int32)

Converts an integer value to a String value.

System_CAPS_pubmethodSystem_CAPS_staticToString(Int64)

Converts a Long value to a String value.

System_CAPS_pubmethodSystem_CAPS_staticToString(Object^)

Converts an object to a String value.

System_CAPS_pubmethodSystem_CAPS_staticToString(Single)

Converts a Single value (a single-precision floating point number) to a String value.

System_CAPS_pubmethodSystem_CAPS_staticToString(Single, NumberFormatInfo^)

Converts a Single value to a String value, using the specified number format.

System_CAPS_pubmethodSystem_CAPS_staticToString(UInt32)

Converts a uint value to a String value.

System_CAPS_pubmethodSystem_CAPS_staticToString(UInt64)

Converts a Ulong value to a String value.

System_CAPS_pubmethodSystem_CAPS_staticToUInteger(Object^)

Converts an object to a Uint value.

System_CAPS_pubmethodSystem_CAPS_staticToUInteger(String^)

Converts a string to a Uint value.

System_CAPS_pubmethodSystem_CAPS_staticToULong(Object^)

Converts an object to a Ulong value.

System_CAPS_pubmethodSystem_CAPS_staticToULong(String^)

Converts a string to a Ulong value.

System_CAPS_pubmethodSystem_CAPS_staticToUShort(Object^)

Converts an object to a Ushort value.

System_CAPS_pubmethodSystem_CAPS_staticToUShort(String^)

Converts a string to a Ushort value.

Universal Windows Platform
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.

Return to top
Show: