JsonTypeInfo.NumberHandling Property
Definition
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.
Gets or sets the type-level NumberHandling override.
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)
Property Value
Exceptions
The JsonTypeInfo instance has been locked for further modification.
An invalid JsonNumberHandling value was specified.
Remarks
For contracts originating from DefaultJsonTypeInfoResolver or JsonSerializerContext, the value of this callback will be mapped from any JsonNumberHandling annotations.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.