"TryGetValue" usually refers to an operation of value lookup at dictionary (or map) by a specified key. "Try" here means that it is a failsafe method, i.e. in case of the key is not contained by the dictionary, some indicator of missing value is returned.
When tagging a question with trygetvalue, be sure to tag it with the language being used, and with the related data structure, like dictionary, associative-array, unordered-map, multimap, treemap, hashmap, hashtable or lua-table.
In C++
std::map<Key, T, Compare, Allocator>::find
: returns an iterator, which is empty in case of no such key.
In .NET
Dictionary<TKey, TValue>.TryGetValue
: returns true or false depending on whether the provided key was found and a value as an out parameter.
In Python
dict.get
: Returns the value, which is substituted by a provided default in case of no such a key.
In Java
Map<K, V>.get
: Returns the value or null
if this map contains no mapping for the key.
For questions about Mapping Functions over collections of data, Please Use map-function tag.