TryGetValue()

BaseDictionary::TryGetValue(const key_t&, mapped_t&) const method

Looks for keyed value and retreives it if found.

bool System::Collections::Generic::BaseDictionary<Map>::TryGetValue(const key_t &key, mapped_t &value) const override

Arguments

ParameterTypeDescription
keyconst key_t&Key to look for.
valuemapped_t&Reference to store found value at.

Return Value

true if value is found and retreived, false otherwise.

See Also