[]
Gets the value associated with the specified key.
public bool TryGetValue(TKey key, out TValue value)
Public Function TryGetValue(key As TKey, ByRef value As TValue) As Boolean
Type | Name | Description |
---|---|---|
TKey | key | The key of the 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. |
Type | Description |
---|---|
bool | true if the ObservableSortedDictionary<TKey, TValue> contains an element with the specified key; otherwise, false. |