AtalaObservableDictionaryTKey, TValueRemove Method (KeyValuePairTKey, TValue) |
Removes the first occurrence of a specific object from the ICollectionT.
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)
Syntax public bool Remove(
KeyValuePair<TKey, TValue> item
)
Public Function Remove (
item As KeyValuePair(Of TKey, TValue)
) As Boolean
Parameters
- item
- Type: System.Collections.GenericKeyValuePairTKey, TValue
The object to remove from the ICollectionT.
Return Value
Type:
Booleantrue if
item was successfully removed from the
ICollectionT; otherwise, false. This method also returns false if
item is not found in the original
ICollectionT.
Implements
ICollectionTRemove(T)Exceptions Exception | Condition |
---|
NotSupportedException | The ICollectionT is read-only. |
See Also