JsonSerializableAttribute(Type) Constructor

Definition

Initializes a new instance of JsonSerializableAttribute with the specified type.

public:
 JsonSerializableAttribute(Type ^ type);
public JsonSerializableAttribute (Type type);
new System.Text.Json.Serialization.JsonSerializableAttribute : Type -> System.Text.Json.Serialization.JsonSerializableAttribute
Public Sub New (type As Type)

Parameters

type
Type

The type to generate source code for.

Applies to