Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Remove() [2/4]

bool System.Text.Json.Nodes.JsonObject.Remove ( string propertyName)
inline

Definition at line 263 of file JsonObject.cs.

264 {
265 if (propertyName == null)
266 {
267 throw new ArgumentNullException("propertyName");
268 }
271 bool flag = _dictionary.TryRemoveProperty(propertyName, out existing);
272 if (flag)
273 {
275 }
276 return flag;
277 }
JsonNode(JsonNodeOptions? options=null)
Definition JsonNode.cs:78
void DetachParent(JsonNode item)
JsonPropertyDictionary< JsonNode > _dictionary
Definition JsonObject.cs:80

References System.Text.Json.Nodes.JsonObject._dictionary, System.Text.Json.Nodes.JsonObject.DetachParent(), System.Text.Json.Dictionary, and System.Text.Json.Nodes.JsonObject.InitializeIfRequired().

Referenced by System.Text.Json.Nodes.JsonObject.Remove().