ReadOnlyDictionary<TKey, TValue>.ICollection<KeyValuePair<TKey, TValue>>.Contains method
Namespace: Microsoft.SharePoint.Taxonomy.Generic
Assembly: Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)
Syntax
'Declaration
Private Function Contains ( _
item As KeyValuePair(Of TKey, TValue) _
) As Boolean Implements ICollection(Of KeyValuePair(Of TKey, TValue)).Contains
'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))).Contains(item)
boolICollection<KeyValuePair<TKey, TValue>>.Contains(
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