---
title: "Aspose::Email::Mapi::KnownPropertyList::Contains method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/knownpropertylist/contains/"
product: "Aspose.Email for C++"
description: "Determines whether the System.Collections.Generic.ICollection contains a specific value."
---


## Contains {#contains}

Determines whether the System.Collections.Generic.ICollection contains a specific value.

**Returns:** true if item is found in the System.Collections.Generic.ICollection; otherwise, false.

```cpp
Contains(const System::SharedPtr < PropertyDescriptor > & item)
```

| Parameter | Description |
| --- | --- |
| item | The object to locate in the System.Collections.Generic.ICollection. |

