Removes the first occurrence of a specific object from the Collection.
Namespace: MonoSoftware.Core.CollectionsAssembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)
Syntax
C# |
---|
public virtual bool Remove(
KeyValuePair<TKey, TValue> item
) |
Visual Basic |
---|
Public Overridable Function Remove (
item As KeyValuePair(Of TKey, TValue)
) As Boolean |
Visual C++ |
---|
public:
virtual bool Remove(
KeyValuePair<TKey, TValue> item
) |
F# |
---|
abstract Remove :
item : KeyValuePair<'TKey, 'TValue> -> bool
override Remove :
item : KeyValuePair<'TKey, 'TValue> -> bool |
Return Value
Type:
Booleantrue if item was successfully removed from the Collection;
otherwise, false. This method also returns false if item is not found in
the original Collection.
Implements
ICollection<(Of <(<'T>)>)>..::..Remove(T)See Also