JsonArray.Add Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
| Name | Description |
|---|---|
| Add(JsonNode) | |
| Add<T>(T) |
Hiermee voegt u een object toe aan het einde van de JsonArray. |
Add(JsonNode)
- Bron:
- JsonArray.IList.cs
- Bron:
- JsonArray.IList.cs
- Bron:
- JsonArray.IList.cs
- Bron:
- JsonArray.IList.cs
- Bron:
- JsonArray.IList.cs
- Bron:
- JsonArray.IList.cs
- Bron:
- JsonArray.IList.cs
public:
virtual void Add(System::Text::Json::Nodes::JsonNode ^ item);
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
Implementeringen
Van toepassing op
Add<T>(T)
- Bron:
- JsonArray.cs
- Bron:
- JsonArray.cs
- Bron:
- JsonArray.cs
- Bron:
- JsonArray.cs
- Bron:
- JsonArray.cs
- Bron:
- JsonArray.cs
- Bron:
- JsonArray.cs
Hiermee voegt u een object toe aan het einde van de JsonArray.
public:
generic <typename T>
void Add(T value);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Creating JsonValue instances with non-primitive types requires generating code at runtime.")]
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Creating JsonValue instances with non-primitive types is not compatible with trimming. It can result in non-primitive types being serialized, which may have their members trimmed.")]
public void Add<T>(T? value);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Creating JsonValue instances with non-primitive types is not compatible with trimming. It can result in non-primitive types being serialized, which may have their members trimmed.")]
public void Add<T>(T? value);
public void Add<T>(T? value);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Creating JsonValue instances with non-primitive types requires generating code at runtime.")>]
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Creating JsonValue instances with non-primitive types is not compatible with trimming. It can result in non-primitive types being serialized, which may have their members trimmed.")>]
member this.Add : 'T -> unit
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Creating JsonValue instances with non-primitive types is not compatible with trimming. It can result in non-primitive types being serialized, which may have their members trimmed.")>]
member this.Add : 'T -> unit
member this.Add : 'T -> unit
Public Sub Add(Of T) (value As T)
Type parameters
- T
Het type object dat moet worden toegevoegd.
Parameters
- value
- T
Het object dat moet worden toegevoegd aan het einde van de JsonArray.
- Kenmerken