## DocumentPropertyCollection::Contains(const U16String\&) method


Returns true if a property with the specified name exists in the collection.

```cpp
bool Aspose::Cells::Properties::DocumentPropertyCollection::Contains(const U16String &name)
```


| Parameter | Type | Description |
| --- | --- | --- |
| name | const U16String\& | The case-insensitive name of the property. |

## ReturnValue

True if the property exists in the collection; false otherwise.

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [U16String](../../../aspose.cells/u16string/)
* Class [DocumentPropertyCollection](../)
* Namespace [Aspose::Cells::Properties](../../)
* Library [Aspose.Cells for C++](../../../)
## DocumentPropertyCollection::Contains(const char16_t*) method


Returns true if a property with the specified name exists in the collection.

```cpp
bool Aspose::Cells::Properties::DocumentPropertyCollection::Contains(const char16_t *name)
```


| Parameter | Type | Description |
| --- | --- | --- |
| name | const char16_t* | The case-insensitive name of the property. |

## ReturnValue

True if the property exists in the collection; false otherwise.

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [DocumentPropertyCollection](../)
* Namespace [Aspose::Cells::Properties](../../)
* Library [Aspose.Cells for C++](../../../)
