## ControlCollection::Find method


在集合中查找指定名称的控件。可选地递归检查包含的控件集合。

```cpp
System::ArrayPtr<System::SharedPtr<Control>> System::Windows::Forms::Control::ControlCollection::Find(const System::String &key, bool searchAllChildren) const
```

## 另见

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