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

参照