Conversions Methods

The Conversions type exposes the following members.

  Name Description
Public method Static member ChangeType Converts an object to the specified type.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Static member FallbackUserDefinedConversion Obsolete. Converts an object to the specified type.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member FromCharAndCount Converts a Char value to a string, given a byte count.
Public method Static member FromCharArray Converts a Char array to a string.
Public method Static member FromCharArraySubset Converts a subset of a Char array to a string.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member ToBoolean(Object) Converts an object to a Boolean value.
Public method Static member ToBoolean(String) Converts a string to a Boolean value.
Public method Static member ToByte(Object) Converts an object to a Byte value.
Public method Static member ToByte(String) Converts a string to a Byte value.
Public method Static member ToChar(Object) Converts an object to a Char value.
Public method Static member ToChar(String) Converts a string to a Char value.
Public method Static member ToCharArrayRankOne(Object) Converts an object to a one-dimensional Char array.
Public method Static member ToCharArrayRankOne(String) Converts a string to a one-dimensional Char array.
Public method Static member ToDate(Object) Converts an object to a DateTime value.
Public method Static member ToDate(String) Converts a string to a DateTime value.
Public method Static member ToDecimal(Boolean) Converts a Boolean value to a Decimal value.
Public method Static member ToDecimal(Object) Converts an object to a Decimal value.
Public method Static member ToDecimal(String) Converts a string to a Decimal value.
Public method Static member ToDouble(Object) Converts an object to a Double value.
Public method Static member ToDouble(String) Converts a string to a Double value.
Public method Static member ToGenericParameter<T> Converts an object to a generic type T.
Public method Static member ToInteger(Object) Converts an object to an integer value.
Public method Static member ToInteger(String) Converts a string to an integer value.
Public method Static member ToLong(Object) Converts an object to a Long value.
Public method Static member ToLong(String) Converts a string to a Long value.
Public method Static member ToSByte(Object) Converts an object to an SByte value.
Public method Static member ToSByte(String) Converts a string to an SByte value.
Public method Static member ToShort(Object) Converts an object to a Short value.
Public method Static member ToShort(String) Converts a string to a Short value.
Public method Static member ToSingle(Object) Converts an object to a Single value.
Public method Static member ToSingle(String) Converts a String to a Single value.
Public method ToString() Returns a string that represents the current object. (Inherited from Object.)
Public method Static member ToString(Boolean) Converts a Boolean value to a String.
Public method Static member ToString(Byte) Converts a Byte value to a String.
Public method Static member ToString(Char) Converts a Char value to a String.
Public method Static member ToString(DateTime) Converts a DateTime value to a String value.
Public method Static member ToString(Decimal) Converts a Decimal value to a String value.
Public method Static member ToString(Double) Converts a Double value to a String value.
Public method Static member ToString(Int16) Converts a Short value to a String value.
Public method Static member ToString(Int32) Converts an integer value to a String value.
Public method Static member ToString(Int64) Converts a Long value to a String value.
Public method Static member ToString(Object) Converts an object to a String value.
Public method Static member ToString(Single) Converts a Single value (a single-precision floating point number) to a String value.
Public method Static member ToString(UInt32) Converts a uint value to a String value.
Public method Static member ToString(UInt64) Converts a Ulong value to a String value.
Public method Static member ToString(Decimal, NumberFormatInfo) Converts a Decimal value to a String value, using the specified number format.
Public method Static member ToString(Double, NumberFormatInfo) Converts a Double value to a String value, using the specified number format.
Public method Static member ToString(Single, NumberFormatInfo) Converts a Single value to a String value, using the specified number format.
Public method Static member ToUInteger(Object) Converts an object to a Uint value.
Public method Static member ToUInteger(String) Converts a string to a Uint value.
Public method Static member ToULong(Object) Converts an object to a Ulong value.
Public method Static member ToULong(String) Converts a string to a Ulong value.
Public method Static member ToUShort(Object) Converts an object to a Ushort value.
Public method Static member ToUShort(String) Converts a string to a Ushort value.
Top

Community Additions

ADD
Show: