WeakRefDictionary<TKey,TValue>.TryGet(TKey, TValue) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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