System::Collections::Generic::IDictionary::GetValueOrDefault método

IDictionary::GetValueOrDefault(const TKey&) const method

Devuelve el valor si se encuentra; o Value() de lo contrario.

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

Ver también

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

Devuelve el valor si se encuentra; o defaultValue de lo contrario.

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

Ver también