Bewerken

Share via


JsonArray.Remove(JsonNode) Method

Definition

Removes the first occurrence of a specific JsonNode from the JsonArray.

public:
 virtual bool Remove(System::Text::Json::Nodes::JsonNode ^ item);
public bool Remove (System.Text.Json.Nodes.JsonNode? item);
abstract member Remove : System.Text.Json.Nodes.JsonNode -> bool
override this.Remove : System.Text.Json.Nodes.JsonNode -> bool
Public Function Remove (item As JsonNode) As Boolean

Parameters

item
JsonNode

The JsonNode to remove from the JsonArray.

Returns

true if item is successfully removed; otherwise, false.

Implements

Applies to