System::Collections::Generic::ICollection::Contains method
ICollection::Contains method
检查集合中是否存在该元素。
virtual bool System::Collections::Generic::ICollection<T>::Contains(const T &item) const =0
| Parameter | Type | 描述 |
|---|---|---|
| item | const T& | 要查找的项。 |
ReturnValue
如果元素存在则返回 true,否则返回 false。
另见
- Class ICollection
- Namespace System::Collections::Generic
- Library Aspose.Page for C++