System::Collections::Generic::IDictionary::GetValueOrDefault metode

IDictionary::GetValueOrDefault(const TKey&) const method

Mengembalikan nilai jika ditemukan; atau Value() sebaliknya.

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

Lihat Juga

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

Mengembalikan nilai jika ditemukan; atau defaultValue jika tidak.

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

Lihat Juga