Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


JsonArray.Remove(JsonValue) Method

Definition

Removes the first occurrence of a specific object from the ICollection<T>.

C#
public bool Remove(System.Json.JsonValue item);

Parameters

item
JsonValue

The object to remove from the ICollection<T>.

Returns

true if item was successfully removed from the ICollection<T>; otherwise, false. This method also returns false if item is not found in the original ICollection<T>.

Implements

Remarks

Megjegyzés

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Termék Verziók
.NET 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)