Bridge

DateTime..::..Parse Method (String)

Converts the string representation of a date and time to its DateTime equivalent.

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

Syntax


[TemplateAttribute]
public static DateTime Parse(
	string value
)
<TemplateAttribute> _
Public Shared Function Parse ( _
	value As String _
) As DateTime
[TemplateAttribute]
public:
static DateTime^ Parse(
	String^ value
)

Parameters

value
Type: System..::..String

Return Value

An object that is equivalent to the date and time contained in s.

Exceptions


ExceptionCondition
System..::..ArgumentNullExceptions is null.
System..::..FormatExceptions does not contain a valid string representation of a date and time.