## ControlCollection::ContainsKey method


检查集合中是否存在具有特定名称的控件。

```cpp
virtual bool System::Windows::Forms::Control::ControlCollection::ContainsKey(System::String key) const
```

## 另见

* Class [String](../../../../system/string/)
* Class [ControlCollection](../)
* Class [Control](../../)
* Namespace [System::Windows::Forms](../../../)
* Library [Aspose.Page for C++](../../../../)
