Click or drag to resize

PropertyStringParserGetInt32(String, Int32) Method

Gets a property as an Int32 value.

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

Parameters

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

Return Value

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