## Collection::Contains method


检查项是否存在于集合中。

```cpp
bool System::Collections::ObjectModel::Collection<T>::Contains(const T &item) const override
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| item | const T\& | 要查找的。 |

### ReturnValue

如果项目存在则返回 true，否则返回 false。

## 另见

* Class [Collection](../)
* Namespace [System::Collections::ObjectModel](../../)
* Library [Aspose.Page for C++](../../../)
