Click or drag to resize

ConcurrentTokenizedLinkedListTKey, TValueTryAddFirst Method

Tries to add an item as the first item of the list.

Namespace: Altaxo.Collections
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public bool TryAddFirst(
	TKey key,
	TValue value
)

Parameters

key  TKey
The key that identifies the item.
value  TValue
The item's value.

Return Value

Boolean
True if the item was added to the list. If another item with the same key was already present in the list, the item is not added to the list, and the return value is false.
See Also