Click or drag to resize

PropertyStringParserGetDouble(String, Double) Method

Gets a property as a Double value.

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

Parameters

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

Return Value

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