## ControlCollection::Contains method


检查集合中是否存在特定控件。

```cpp
virtual bool System::Windows::Forms::Control::ControlCollection::Contains(const System::SharedPtr<Control> &control) const override
```

## 另见

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