ReadOnlyDictionary<TKey, TValue>.ICollection<KeyValuePair<TKey, TValue>>.Remove method
Namespace: Microsoft.SharePoint.Taxonomy.Generic
Assembly: Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.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)
boolICollection<KeyValuePair<TKey, TValue>>.Remove(
KeyValuePair<TKey, TValue> item
)
Parameters
- item
Type: System.Collections.Generic.KeyValuePair<TKey, TValue>
Return value
Type: System.Boolean
Implements
See also
Reference
ReadOnlyDictionary<TKey, TValue> class