Modifier

Partager via


JsonObject Constructors

Definition

Overloads

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

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

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

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

JsonObject(KeyValuePair<String,JsonValue>[])

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

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