JsonObject.Create(JsonElement, Nullable<JsonNodeOptions>) メソッド

定義

指定したJsonElementのプロパティを含むJsonObject クラスの新しいインスタンスを初期化します。

public static System.Text.Json.Nodes.JsonObject? Create(System.Text.Json.JsonElement element, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : System.Text.Json.JsonElement * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonObject
Public Shared Function Create (element As JsonElement, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonObject

パラメーター

options
Nullable<JsonNodeOptions>

動作を制御するオプション。

返品

指定したJsonElementのプロパティを含むJsonObject クラスの新しいインスタンス。

適用対象