ReadOnlyDictionary<TKey, TValue>.ICollection<KeyValuePair<TKey, TValue>>.Remove Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.VisualStudio.TestTools.Framework
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Private Function Remove ( _
item As KeyValuePair(Of TKey, TValue) _
) As Boolean Implements ICollection(Of KeyValuePair(Of TKey, TValue)).Remove
'Usage
Dim instance As ReadOnlyDictionary
Dim item As KeyValuePair(Of TKey, TValue)
Dim returnValue As Boolean
returnValue = CType(instance, ICollection(Of KeyValuePair(Of TKey, TValue))).Remove(item)
bool ICollection<KeyValuePair<TKey, TValue>>.Remove(
KeyValuePair<TKey, TValue> item
)
private:
virtual bool Remove(
KeyValuePair<TKey, TValue> item
) sealed = ICollection<KeyValuePair<TKey, TValue>>::Remove
JScript does not support explicit interface implementations.
private abstract Remove :
item:KeyValuePair<'TKey, 'TValue> -> bool
private override Remove :
item:KeyValuePair<'TKey, 'TValue> -> bool
Parameters
- item
Type: System.Collections.Generic.KeyValuePair<TKey, TValue>
Return Value
Type: System.Boolean
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ReadOnlyDictionary<TKey, TValue> Class