Bridge

Convert..::..ToDateTime Method (Object)

Converts the value of the specified object to a DateTime object. Note: Calling this method for built-in types (except [DateTime], [string]) always throws InvalidCastException.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public static DateTime ToDateTime(
	Object value
)
<TemplateAttribute> _
Public Shared Function ToDateTime ( _
	value As Object _
) As DateTime
[TemplateAttribute]
public:
static DateTime^ ToDateTime(
	Object^ value
)

Parameters

value
Type: System..::..Object