Share via


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

Return value

Type: System.Boolean

Implements

ICollection<T>.Remove(T)

See also

Reference

ReadOnlyDictionary<TKey, TValue> class

ReadOnlyDictionary<TKey, TValue> members

Microsoft.SharePoint.Taxonomy.Generic namespace