Click or drag to resize

PropertyStringParserGetInt64(String, Int64) Method

Gets a property as an Int64 value.

Namespace: Altaxo.Main.Properties
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public long GetInt64(
	string key,
	long defaultValue
)

Parameters

key  String
The property key.
defaultValue  Int64
The default value that is returned if the property was not found.

Return Value

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