Click or drag to resize

PropertyStringParserGetDateTimeOffset(String) Method

Gets a property as a DateTimeOffset value.

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

Parameters

key  String
The property key.

Return Value

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