JsonPropertyInfo.NumberHandling プロパティ

定義

現在のプロパティに適用 JsonNumberHandling を取得または設定します。

public:
 property Nullable<System::Text::Json::Serialization::JsonNumberHandling> NumberHandling { Nullable<System::Text::Json::Serialization::JsonNumberHandling> get(); void set(Nullable<System::Text::Json::Serialization::JsonNumberHandling> value); };
public System.Text.Json.Serialization.JsonNumberHandling? NumberHandling { get; set; }
member this.NumberHandling : Nullable<System.Text.Json.Serialization.JsonNumberHandling> with get, set
Public Property NumberHandling As Nullable(Of JsonNumberHandling)

プロパティ値

例外

JsonPropertyInfo インスタンスは、さらに変更するためにロックされています。

注釈

DefaultJsonTypeInfoResolverまたはJsonSerializerContextから発生するコントラクトの場合、このプロパティの値はJsonNumberHandlingAttribute注釈からマップされます。

適用対象