System::Collections::Generic::BaseDictionary::GetValueOrDefault 方法
BaseDictionary::GetValueOrDefault(const key_t&) const method
如果找到则返回值;否则返回 Value()。
mapped_t System::Collections::Generic::BaseDictionary<Map>::GetValueOrDefault(const key_t &key) const override
另见
- Class BaseDictionary
- Namespace System::Collections::Generic
- Library Aspose.Font for C++
BaseDictionary::GetValueOrDefault(const key_t&, const mapped_t&) const method
如果找到则返回值;否则返回 defaultValue。
mapped_t System::Collections::Generic::BaseDictionary<Map>::GetValueOrDefault(const key_t &key, const mapped_t &defaultValue) const override
另见
- Class BaseDictionary
- Namespace System::Collections::Generic
- Library Aspose.Font for C++