Click or drag to resize

FileBackedDictionaryTKey, TValueRemove(KeyValuePairTKey, TValue) Method

Removes the first occurrence of a specific object from the FileBackedDictionaryTKey, TValue.

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public bool Remove(
	KeyValuePair<TKey, TValue> item
)
View Source

Parameters

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

Return Value

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

Implements

ICollectionTRemove(T)
Exceptions
ExceptionCondition
NotSupportedExceptionThe FileBackedDictionaryTKey, TValue is read-only.
See Also