Gets the value associated with the specified key.
| C# | Visual Basic | Visual C++ |
public bool TryGetValue( K key, out V value )
Public Function TryGetValue ( _ key As K, _ <OutAttribute> ByRef value As V _ ) As Boolean
public: bool TryGetValue( K key, [OutAttribute] V% value )
Returns true if the collection contains specified key and value stored to value argument.