JsonArray.Add メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| Add(JsonNode) | |
| Add<T>(T) |
JsonArrayの末尾にオブジェクトを追加します。 |
Add(JsonNode)
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)
パラメーター
実装
適用対象
Add<T>(T)
- ソース:
- JsonArray.cs
- ソース:
- JsonArray.cs
- ソース:
- JsonArray.cs
- ソース:
- JsonArray.cs
- ソース:
- JsonArray.cs
- ソース:
- JsonArray.cs
- ソース:
- JsonArray.cs
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)
型パラメーター
- T
追加するオブジェクトの種類。
パラメーター
- value
- T
JsonArrayの末尾に追加するオブジェクト。
- 属性