NullableTypes Class Library

NullableDateTime.Parse Method 

Parses a string expression of an instant in time.

[Visual Basic]
Public Shared Function Parse( _
   ByVal s As String _
) As NullableDateTime
public static NullableDateTime Parse(
   string s


string instance

Return Value

NullableDateTime instance containing a value representative of the instant in time.


Exception TypeCondition
ArgumentNullExceptions is null.
FormatExceptions is not a properly formatted date and time.
OverflowExceptions represents a time instant less than MinValue or greater than MaxValue.

See Also

NullableDateTime Class | NullableTypes Namespace