Share via


ReadOnlyDictionary<TKey, TValue>.TryGetValue method

Namespace:  Microsoft.SharePoint.BusinessData.Infrastructure.Collections
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function TryGetValue ( _
    key As TKey, _
    <OutAttribute> ByRef value As TValue _
) As Boolean
'Usage
Dim instance As ReadOnlyDictionary
Dim key As TKey
Dim value As TValue
Dim returnValue As Boolean

returnValue = instance.TryGetValue(key, _
    value)
public bool TryGetValue(
    TKey key,
    out TValue value
)

Parameters

Return value

Type: System.Boolean

Implements

IReadOnlyDictionary<TKey, TValue>.TryGetValue(TKey, TValue)

See also

Reference

ReadOnlyDictionary<TKey, TValue> class

ReadOnlyDictionary<TKey, TValue> members

Microsoft.SharePoint.BusinessData.Infrastructure.Collections namespace