JsonArray Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
JsonArray(IEnumerable<JsonValue>) | |
JsonArray(JsonValue[]) |
JsonArray(IEnumerable<JsonValue>)
- Source:
- JsonArray.cs
public:
JsonArray(System::Collections::Generic::IEnumerable<System::Json::JsonValue ^> ^ items);
public JsonArray (System.Collections.Generic.IEnumerable<System.Json.JsonValue> items);
new System.Json.JsonArray : seq<System.Json.JsonValue> -> System.Json.JsonArray
Public Sub New (items As IEnumerable(Of JsonValue))
Parameters
- items
- IEnumerable<JsonValue>
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
JsonArray(JsonValue[])
- Source:
- JsonArray.cs
public:
JsonArray(... cli::array <System::Json::JsonValue ^> ^ items);
public JsonArray (params System.Json.JsonValue[] items);
new System.Json.JsonArray : System.Json.JsonValue[] -> System.Json.JsonArray
Public Sub New (ParamArray items As JsonValue())
Parameters
- items
- JsonValue[]
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.