## JsonObject::ContainsKey method


Checks if container contains key.

```cpp
bool System::Text::Json::Nodes::JsonObject::ContainsKey(const String &propertyName) const override
```


| Parameter | Type | Description |
| --- | --- | --- |
| key | const String\& | Key to look for. |

### ReturnValue

True if key is present, false otherwise.

## See Also

* Class [String](../../../system/string/)
* Class [JsonObject](../)
* Namespace [System::Text::Json::Nodes](../../)
* Library [Aspose.TeX for C++](../../../)
