System::Collections::IListImplRefType::Contains 方法

IListImplRefType::Contains method

检查项是否存在于列表中。

virtual bool System::Collections::IListImplRefType<T>::Contains(SharedPtr<System::Object> item) const override
参数类型描述
SharedPtr<System::Object>要查找的项。

ReturnValue

若找到项则为 true,否则为 false。

另见