Share via


WeakRefDictionary<TKey,TValue>.TryGet(TKey, TValue) Method

Definition

public:
 bool TryGet(TKey key, [Runtime::InteropServices::Out] TValue % value);
public bool TryGet (TKey key, out TValue value);
member this.TryGet : 'Key * 'Value -> bool
Public Function TryGet (key As TKey, ByRef value As TValue) As Boolean

Parameters

key
TKey
value
TValue

Returns

Applies to