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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈