Attempts to get the item with the given key from the dictionary, and store it as the value of the given value.

Namespace:  Endeca.Web.Url.Seo.Utility
Assembly:  Endeca.Web.Url.Seo (in Endeca.Web.Url.Seo.dll) Version: 2.1.1.0 (2.1.1.0)

Syntax

C#
public bool TryGetValue(
	T key,
	out U value
)
Visual Basic (Declaration)
Public Function TryGetValue ( _
	key As T, _
	<OutAttribute> ByRef value As U _
) As Boolean
Visual C++
public:
virtual bool TryGetValue(
	T key, 
	[OutAttribute] U% value
) sealed

Parameters

key
Type: T
Key of item to get from dictionary.
value
Type: U %
Object to store retrieved item in if operation is successful.

Return Value

Returns true if lookup operation found an item in the dictionary.

Implements

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

See Also