ReadOnlyDictionary<TKey, TValue>.Contains Method
Determines whether a specified item is stored at a specified key in the dictionary.
Namespace: Microsoft.SharePoint.BusinessData.Infrastructure.Collections.Client
Assembly: Microsoft.SharePoint.BusinessData.Administration.Client (in Microsoft.SharePoint.BusinessData.Administration.Client.dll)
Syntax
'Declaration
Public Function Contains ( _
item As KeyValuePair(Of TKey, TValue) _
) As Boolean
'Usage
Dim instance As ReadOnlyDictionary
Dim item As KeyValuePair(Of TKey, TValue)
Dim returnValue As Boolean
returnValue = instance.Contains(item)
public bool Contains(
KeyValuePair<TKey, TValue> item
)
Parameters
item
Type: System.Collections.Generic.KeyValuePair<TKey, TValue>The item to search for.
Return Value
Type: System.Boolean
true if the item is found; otherwise, false.
Implements
IReadOnlyCollection<T>.Contains(T)
See Also
Reference
ReadOnlyDictionary<TKey, TValue> Class
ReadOnlyDictionary<TKey, TValue> Members
Microsoft.SharePoint.BusinessData.Infrastructure.Collections.Client Namespace