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

Implements

ICollection<(Of <(<'T>)>)>..::..Contains(T)

Remarks

Exceptions

[T:System.ArgumentNullException]: Thrown when item is null.

See Also

Reference

ReadOnlyDictionary<(Of <(<'K, V>)>)> Class

ReadOnlyDictionary<(Of <(<'K, V>)>)> Members

Microsoft.Rtc.Collaboration.AudioVideo Namespace