JsonSerializableAttribute(Type) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化一個以指定型別的新 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
產生原始碼的類型。