JsonArray.RemoveAll(Func<JsonNode,Boolean>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes all the elements that match the conditions defined by the specified predicate.
public:
int RemoveAll(Func<System::Text::Json::Nodes::JsonNode ^, bool> ^ match);
public int RemoveAll(Func<System.Text.Json.Nodes.JsonNode?,bool> match);
member this.RemoveAll : Func<System.Text.Json.Nodes.JsonNode, bool> -> int
Public Function RemoveAll (match As Func(Of JsonNode, Boolean)) As Integer
Parameters
Returns
The number of elements removed from the JsonArray.
Exceptions
match is null.