TryGetValue Method
Gets the element with the specified key.
Namespace: Microsoft.Rtc.Collaboration.AudioVideo
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function TryGetValue ( _
key As K, _
<OutAttribute> ByRef value As V _
) As Boolean
'Usage
Dim instance As ReadOnlyDictionary
Dim key As K
Dim value As V
Dim returnValue As Boolean
returnValue = instance.TryGetValue(key, _
value)
public bool TryGetValue(
K key,
out V value
)
Parameters
- key
Type: K
- value
Type: V%
Return Value
Type: System..::..Boolean
Implements
IDictionary<(Of <(<'TKey, TValue>)>)>..::..TryGetValue(TKey, TValue%)
See Also
Reference
ReadOnlyDictionary<(Of <(<'K, V>)>)> Class