[]
        
(Showing Draft Content)

GrapeCity.Documents.Common.ObservableSortedList-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)
Public Function TryGetValue(key As TKey, ByRef value As TValue) As Boolean
Parameters
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.

Returns
Type Description
bool

true if the ObservableSortedDictionary<TKey, TValue> contains an element with the specified key; otherwise, false.

Implements