ConcurrentTokenizedLinkedListTKey, TValueTryAddFirst Method |
Tries to add an item as the first item of the list.
Namespace: Altaxo.CollectionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public bool TryAddFirst(
TKey key,
TValue value
)
Parameters
- key TKey
- The key that identifies the item.
- value TValue
- The item's value.
Return Value
BooleanTrue 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