Gets the value associated with the specified key.

Namespace:  Mindscape.WpfElements.WpfPropertyGrid
Assembly:  Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
public bool TryGetValue(
	TKey key,
	out TValue value
)
Visual Basic (Declaration)
Public Function TryGetValue ( _
	key As TKey, _
	<OutAttribute> ByRef value As TValue _
) As Boolean

Parameters

key
Type: TKey
The key whose value to get.
value
Type: TValue %
When the method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter.

Return Value

true if the dictionary contains an element with the specified key; otherwise false.

Implements

IDictionary<(Of <(TKey, TValue>)>)..::.TryGetValue(TKey, TValue%)

See Also