編輯

共用方式為


JsonArray.AddRange Method

Definition

Overloads

AddRange(IEnumerable<JsonValue>)
AddRange(JsonValue[])

AddRange(IEnumerable<JsonValue>)

public:
 void AddRange(System::Collections::Generic::IEnumerable<System::Json::JsonValue ^> ^ items);
public void AddRange (System.Collections.Generic.IEnumerable<System.Json.JsonValue> items);
member this.AddRange : seq<System.Json.JsonValue> -> unit
Public Sub AddRange (items As IEnumerable(Of JsonValue))

Parameters

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

AddRange(JsonValue[])

public:
 void AddRange(... cli::array <System::Json::JsonValue ^> ^ items);
public void AddRange (params System.Json.JsonValue[] items);
member this.AddRange : System.Json.JsonValue[] -> unit
Public Sub AddRange (ParamArray items As JsonValue())

Parameters

items
JsonValue[]

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