Click or drag to resize

PropertiesGetT(String, T) Method

Retrieves a single element from this Properties-container.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public T Get<T>(
	string key,
	T defaultValue
)

Parameters

key  String
Key of the item to retrieve
defaultValue  T
Default value to be returned if the key is not present.

Type Parameters

T
The type of the value to retrieve.

Return Value

T
The stored value if present and convertible; otherwise, defaultValue.
See Also