Noda Time
GetValueOrThrow Method
NamespacesNodaTime.TextParseResult<(Of <(<'T>)>)>GetValueOrThrow()()()()

[This is preliminary documentation and is subject to change.]

Returns the value from the parse operation if it was successful, or throws an exception indicating the parse failure otherwise.
Declaration Syntax
C#Visual BasicVisual C++
public T GetValueOrThrow()
Public Function GetValueOrThrow As T
public:
T GetValueOrThrow()
Return Value
The result of the parsing operation if it was successful.
Remarks
This method is exactly equivalent to fetching the Value property, but more explicit in terms of throwing an exception on failure.

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)