[]
        
(Showing Draft Content)

C1.Win.Collections.ObjectModel.ObservableDictionary-2.TryGetValue

TryGetValue Method

TryGetValue(TKey, out TValue)

Gets the value associated with the specified key.

Declaration
public bool TryGetValue(TKey key, out TValue value)
Parameters
Type Name Description
TKey key

The key whose value to get.

TValue value

When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.

Returns
Type Description
bool

true if the object that implements ObservableDictionary<TKey, TValue> contains an element with the specified key; otherwise, false.

Implements