Edytuj

Udostępnij za pośrednictwem


JsonNumberHandlingAttribute(JsonNumberHandling) Constructor

Definition

Initializes a new instance of JsonNumberHandlingAttribute.

public:
 JsonNumberHandlingAttribute(System::Text::Json::Serialization::JsonNumberHandling handling);
public JsonNumberHandlingAttribute (System.Text.Json.Serialization.JsonNumberHandling handling);
new System.Text.Json.Serialization.JsonNumberHandlingAttribute : System.Text.Json.Serialization.JsonNumberHandling -> System.Text.Json.Serialization.JsonNumberHandlingAttribute
Public Sub New (handling As JsonNumberHandling)

Parameters

handling
JsonNumberHandling

A bitwise combination of the enumeration values that specify how number types should be handled when serializing or deserializing.

Applies to