This documentation is archived and is not being maintained.
Convert::ToDateTime Method
Visual Studio 2010
Converts a specified value to a DateTime value.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
ToDateTime(Boolean) | Calling this method always throws InvalidCastException. |
|
ToDateTime(Byte) | Calling this method always throws InvalidCastException. |
|
ToDateTime(Char) | Calling this method always throws InvalidCastException. |
|
ToDateTime(DateTime) | Returns the specified DateTime object; no actual conversion is performed. |
|
ToDateTime(Decimal) | Calling this method always throws InvalidCastException. |
|
ToDateTime(Double) | Calling this method always throws InvalidCastException. |
|
ToDateTime(Int16) | Calling this method always throws InvalidCastException. |
|
ToDateTime(Int32) | Calling this method always throws InvalidCastException. |
|
ToDateTime(Int64) | Calling this method always throws InvalidCastException. |
|
ToDateTime(Object) | Converts the value of the specified object to a DateTime object. |
|
ToDateTime(SByte) | Calling this method always throws InvalidCastException. |
|
ToDateTime(Single) | Calling this method always throws InvalidCastException. |
|
ToDateTime(String) | Converts the specified string representation of a date and time to an equivalent date and time value. |
|
ToDateTime(UInt16) | Calling this method always throws InvalidCastException. |
|
ToDateTime(UInt32) | Calling this method always throws InvalidCastException. |
|
ToDateTime(UInt64) | Calling this method always throws InvalidCastException. |
|
ToDateTime(Object, IFormatProvider) | Converts the value of the specified object to a DateTime object, using the specified culture-specific formatting information. |
|
ToDateTime(String, IFormatProvider) | Converts the specified string representation of a number to an equivalent date and time, using the specified culture-specific formatting information. |
Show: