System::Collections::Generic::IDictionary::GetValueOrDefault metodu

IDictionary::GetValueOrDefault(const TKey&) const method

Bulunursa değeri döndürür; aksi takdirde Value() döndürür.

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

Ayrıca Bakınız

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

Bulunursa değeri döndürür; aksi takdirde defaultValue döndürür.

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

Ayrıca Bakınız