Edit

Share via


JsonObject.AddRange Method

Definition

Overloads

AddRange(IEnumerable<KeyValuePair<String,JsonValue>>)
AddRange(KeyValuePair<String,JsonValue>[])

AddRange(IEnumerable<KeyValuePair<String,JsonValue>>)

Source:
JsonObject.cs
public:
 void AddRange(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Json::JsonValue ^>> ^ items);
public void AddRange (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,System.Json.JsonValue>> items);
member this.AddRange : seq<System.Collections.Generic.KeyValuePair<string, System.Json.JsonValue>> -> unit
Public Sub AddRange (items As IEnumerable(Of KeyValuePair(Of String, 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(KeyValuePair<String,JsonValue>[])

Source:
JsonObject.cs
public:
 void AddRange(... cli::array <System::Collections::Generic::KeyValuePair<System::String ^, System::Json::JsonValue ^>> ^ items);
public void AddRange (params System.Collections.Generic.KeyValuePair<string,System.Json.JsonValue>[] items);
member this.AddRange : System.Collections.Generic.KeyValuePair<string, System.Json.JsonValue>[] -> unit
Public Sub AddRange (ParamArray items As KeyValuePair(Of String, 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