Метод System::Collections::Generic::IDictionary::GetValueOrDefault

IDictionary::GetValueOrDefault(const TKey&) const method

Возвращает значение, если найдено; иначе Value().

virtual TValue System::Collections::Generic::IDictionary<TKey, TValue>::GetValueOrDefault(const TKey &key) const

См. также

IDictionary::GetValueOrDefault(const TKey&, const TValue&) const method

Возвращает значение, если найдено; иначе defaultValue.

virtual TValue System::Collections::Generic::IDictionary<TKey, TValue>::GetValueOrDefault(const TKey &key, const TValue &defaultValue) const

См. также