ImageGear for .NET
TryGetValue Method
See Also  Send Feedback
ImageGear21.Windows.Controls Assembly > ImageGear.Core Namespace > ImGearReadOnlyDictionary<TKey,TValue> Class : TryGetValue Method




key
The key of the value to get.
value
When this 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. This parameter is passed uninitialized.

Glossary Item Box

Gets the value associated with the specified key.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

key
The key of the value to get.
value
When this 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. This parameter is passed uninitialized.

Return Value

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

See Also

©2013. Accusoft Corporation. All Rights Reserved.