Remove()

JsonObject::Remove(const String&) method

Removes key from container.

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

Arguments

ParameterTypeDescription
keyconst String&Key to remove.

Return Value

True if key was found and removed, false otherwise.

See Also