Editare

Partajați prin


JsonArray.Remove(JsonValue) Method

Definition

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

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

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

Note

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