## LinkedList::Find method


在列表中执行 **element** 的正向查找。

```cpp
SharedPtr<LinkedListNode<T>> System::Collections::Generic::LinkedList<T>::Find(const T &element) const
```


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

### ReturnValue

如果找到 **element**，则返回已找到的节点；否则返回 nullptr。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [LinkedListNode](../../linkedlistnode/)
* Class [LinkedList](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Font for C++](../../../)
