ReadOnlyDictionary<K, V>.Contains Method

Determines whether the ReadOnlyDictionary contains an item.

Namespace:  Microsoft.Rtc.Collaboration.AudioVideo
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Function Contains ( _
    item As KeyValuePair(Of K, V) _
) As Boolean
'Usage
Dim instance As ReadOnlyDictionary
Dim item As KeyValuePair(Of K, V)
Dim returnValue As Boolean

returnValue = instance.Contains(item)
public bool Contains(
    KeyValuePair<K, V> item
)

Parameters

Return Value

Type: System.Boolean
true if the ReadOnlyDictionary contains the item; otherwise, false.

Implements

ICollection<T>.Contains(T)

Exceptions

Exception Condition
ArgumentNullException

item is null.

See Also

Reference

ReadOnlyDictionary<K, V> Class

ReadOnlyDictionary<K, V> Members

Microsoft.Rtc.Collaboration.AudioVideo Namespace