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

Δείτε επίσης