JsonObject 建構函式

定義

多載

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

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

來源:
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>[])

來源:
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。

適用於