GetValueOrDefault()

BaseDictionary::GetValueOrDefault(const key_t&) const method

Returns value if found; or Value() otherwise.

mapped_t System::Collections::Generic::BaseDictionary<Map>::GetValueOrDefault(const key_t &key) const override

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

Returns value if found; or defaultValue otherwise.

mapped_t System::Collections::Generic::BaseDictionary<Map>::GetValueOrDefault(const key_t &key, const mapped_t &defaultValue) const override

See Also