JsonObject 构造函数

定义

重载

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

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

Source:
JsonObject.cs
public:
 JsonObject(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Json::JsonValue ^>> ^ items);
public JsonObject (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,System.Json.JsonValue>> items);
new System.Json.JsonObject : seq<System.Collections.Generic.KeyValuePair<string, System.Json.JsonValue>> -> System.Json.JsonObject
Public Sub New (items As IEnumerable(Of KeyValuePair(Of String, JsonValue)))

参数

注解

注意

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

适用于

JsonObject(KeyValuePair<String,JsonValue>[])

Source:
JsonObject.cs
public:
 JsonObject(... cli::array <System::Collections::Generic::KeyValuePair<System::String ^, System::Json::JsonValue ^>> ^ items);
public JsonObject (params System.Collections.Generic.KeyValuePair<string,System.Json.JsonValue>[] items);
new System.Json.JsonObject : System.Collections.Generic.KeyValuePair<string, System.Json.JsonValue>[] -> System.Json.JsonObject
Public Sub New (ParamArray items As KeyValuePair(Of String, JsonValue)())

参数

注解

注意

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

适用于