System::Collections::Generic::List::Contains 方法
List::Contains method
检查列表中是否存在该项。
bool System::Collections::Generic::List<T>::Contains(const T &item) const override
| Parameter | Type | 描述 |
|---|---|---|
| item | const T& | 要查找的项。 |
ReturnValue
如果找到项则为 true,否则为 false。
另见
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++