Click or drag to resize

PropertyStringParserGetDateTime(String) Method

Gets a property as a DateTime value.

Namespace: Altaxo.Main.Properties
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public DateTime? GetDateTime(
	string key
)

Parameters

key  String
The property key.

Return Value

NullableDateTime
The value of the property as DateTime value; or null if the property was not found.
Exceptions
ExceptionCondition
InvalidOperationExceptionIs thrown if the property could not be successfully parsed as DateTime.
See Also