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

또 보기