ContainsKey()

JsonObject::ContainsKey(const String&) const method

Checks if container contains key.

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

Arguments

ParameterTypeDescription
keyconst String&Key to look for.

Return Value

True if key is present, false otherwise.

See Also