JsonArray.Add Method
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.
Add(JsonNode) | |
Add<T>(T) |
Adds an object to the end of the JsonArray. |
- Source:
- JsonArray.IList.cs
- Source:
- JsonArray.IList.cs
- Source:
- JsonArray.IList.cs
- Source:
- JsonArray.IList.cs
- Source:
- JsonArray.IList.cs
- Source:
- JsonArray.IList.cs
public:
virtual void Add(System::Text::Json::Nodes::JsonNode ^ item);
C#
public void Add(System.Text.Json.Nodes.JsonNode? item);
abstract member Add : System.Text.Json.Nodes.JsonNode -> unit
override this.Add : System.Text.Json.Nodes.JsonNode -> unit
Public Sub Add (item As JsonNode)
Parameters
Implements
Applies to
.NET 10 és más verziók
Termék | Verziók |
---|---|
.NET | 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10 |
.NET Standard | 2.0 (package-provided) |
- Source:
- JsonArray.cs
- Source:
- JsonArray.cs
- Source:
- JsonArray.cs
- Source:
- JsonArray.cs
- Source:
- JsonArray.cs
- Source:
- JsonArray.cs
Adds an object to the end of the JsonArray.
public:
generic <typename T>
void Add(T value);
C#
public void Add<T>(T? value);
member this.Add : 'T -> unit
Public Sub Add(Of T) (value As T)
Type Parameters
- T
The type of object to be added.
Parameters
- value
- T
The object to be added to the end of the JsonArray.
Applies to
.NET 10 és más verziók
Termék | Verziók |
---|---|
.NET | 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10 |
.NET Standard | 2.0 (package-provided) |
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.
.NET-visszajelzés
A(z) .NET egy nyílt forráskód projekt. Visszajelzés adásához válasszon egy hivatkozást: