## BaseDictionary::ContainsKey method


检查字典中是否存在键。

```cpp
bool System::Collections::Generic::BaseDictionary<Map>::ContainsKey(const key_t &key) const override
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 键 | const key_t\& | 要查找的键。 |

### ReturnValue

如果键存在则为 true，否则为 false。

## 另见

* Class [BaseDictionary](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Font for C++](../../../)
