語言

JsonSerializableAttribute(Type) 建構函式

定義

初始化一個以指定型別的新 JsonSerializableAttribute 實例。

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)

參數

type
Type

產生原始碼的類型。

適用於