Click or drag to resize

DictionaryWithNullableKeyTKey, TValueRemove(KeyValuePairTKey, TValue) Method

Removes the first occurrence of a specific object from the ICollectionT.

Namespace: Altaxo.Collections
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public bool Remove(
	KeyValuePair<TKey, TValue> item
)

Parameters

item  KeyValuePairTKey, TValue
The object to remove from the ICollectionT.

Return Value

Boolean
if item was successfully removed from the ICollectionT; otherwise, . This method also returns if item is not found in the original ICollectionT.

Implements

ICollectionTRemove(T)
Exceptions
ExceptionCondition
NotSupportedExceptionThe ICollectionT is read-only.
See Also