JsonArray.RemoveAll(Func<JsonNode,Boolean>) Méthode

Définition

Supprime tous les éléments qui correspondent aux conditions définies par le prédicat spécifié.

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

Paramètres

match
Func<JsonNode,Boolean>

Prédicat qui définit les conditions des éléments à supprimer.

Retours

Nombre d’éléments supprimés du JsonArray.

Exceptions

match a la valeur null.

S’applique à