System::Collections::Generic::IDictionary::TryGetValue method

IDictionary::TryGetValue method

Looks for value and retreives it if found.

virtual bool System::Collections::Generic::IDictionary<TKey, TValue>::TryGetValue(const TKey &key, TValue &value) const =0
ParameterTypeDescription
keyconst TKey&Key to look for.
valueTValue&Reference to store retreived value into.

ReturnValue

True if value was found and retreived, false otherwise.

See Also