AtalaObservableDictionary<TKey, TValue>.Remove Method (KeyValuePair<TKey, TValue>) |
Removes the first occurrence of a specific object from the ICollection<T>.
Namespace:
Atalasoft.Imaging.Wpf
Assembly:
Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntaxpublic bool Remove(
KeyValuePair<TKey, TValue> item
)
Public Function Remove (
item As KeyValuePair(Of TKey, TValue)
) As Boolean
Parameters
- item
- Type: System.Collections.Generic.KeyValuePair<TKey, TValue>
The object to remove from the ICollection<T>.
Return Value
Type:
Booleantrue if
item was successfully removed from the
ICollection<T>; otherwise, false. This method also returns false if
item is not found in the original
ICollection<T>.
Implements
ICollection<T>.Remove(T)
ExceptionsException | Condition |
---|
NotSupportedException | The ICollection<T> is read-only. |
See Also