Modifier

Partager via


JsonArray.Add(JsonValue) Method

Definition

Adds an item to the ICollection<T>.

public:
 virtual void Add(System::Json::JsonValue ^ item);
public void Add (System.Json.JsonValue item);
abstract member Add : System.Json.JsonValue -> unit
override this.Add : System.Json.JsonValue -> unit
Public Sub Add (item As JsonValue)

Parameters

item
JsonValue

The object to add to the 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