JsonArray.RemoveAll(Func<JsonNode,Boolean>) メソッド

定義

指定した述語で定義されている条件に一致するすべての要素を削除します。

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

パラメーター

match
Func<JsonNode,Boolean>

削除する要素の条件を定義する述語。

返品

JsonArrayから削除された要素の数。

例外

matchnullです。

適用対象