## LinkedList::Contains method


检查列表中是否存在 **element**。

```cpp
bool System::Collections::Generic::LinkedList<T>::Contains(const T &element) const override
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 元素 | const T\& | 要查找的元素。 |

### ReturnValue

如果找到 **element** 则为 true，否则为 false。

## 另见

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