Click or drag to resize

PropertiesGetListT Method

Retrieves the list of items stored with the specified key. If no entry with the specified key exists, this method returns an empty list.

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

Parameters

key  String
The key of the list to retrieve.

Type Parameters

T
The element type.

Return Value

IReadOnlyListT
The stored list, or an empty list if the key is not present.
Remarks
This method returns a copy of the list used internally; you need to call SetListT(String, IEnumerableT) if you want to store the changed list.
See Also