Click or drag to resize

DictionaryBaseTKey, TValueRemove Method

Removes the element with the specified key from the IDictionaryTKey, TValue.

Namespace: SautinSoft.Document
Assembly: SautinSoft.Document (in SautinSoft.Document.dll) Version: 2024.11.20
Syntax
public bool Remove(
	TKey key
)

Parameters

key  TKey
The key of the element to remove.

Return Value

Boolean
true if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original IDictionaryTKey, TValue.

Implements

IDictionaryTKey, TValueRemove(TKey)
Exceptions
ExceptionCondition
ArgumentNullExceptionkey is null.
NotSupportedExceptionThe IDictionaryTKey, TValue is read-only.
See Also