Parameters
- key
- The item identifier.
| Исключение | Описание |
|---|---|
| System.ArgumentNullException | Thrown if {i}key{/i} is {b}null{/b} or empty. |
| System.ObjectDisposedException | Thrown if this instance is disposed. |
| System.InvalidOperationException | Thrown if item with specified {i}key{/i} is locked. |
This method invokes the M:System.IDisposable.Dispose of the removed object if removed object implements the T:System.IDisposable interface.
Целевые платформы: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5