JsonObject.AddRange 方法

定义

重载

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)))

参数

注解

备注

命名空间 System.Json 是为不再受支持的 Silverlight 设计的。 若要处理 JSON,建议改用 命名空间中的 System.Text.Json API。

适用于

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)())

参数

注解

备注

命名空间 System.Json 是为不再受支持的 Silverlight 设计的。 若要处理 JSON,建议改用 命名空间中的 System.Text.Json API。

适用于