JsonConverterAttribute 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| JsonConverterAttribute() |
初始化 JsonConverterAttribute 的新執行個體。 |
| JsonConverterAttribute(Type) |
初始化一個新的 實 JsonConverterAttribute 例,使用指定的轉換器類型。 |
JsonConverterAttribute()
初始化 JsonConverterAttribute 的新執行個體。
protected:
JsonConverterAttribute();
protected JsonConverterAttribute();
Protected Sub New ()
適用於
JsonConverterAttribute(Type)
初始化一個新的 實 JsonConverterAttribute 例,使用指定的轉換器類型。
public:
JsonConverterAttribute(Type ^ converterType);
public JsonConverterAttribute(Type converterType);
new System.Text.Json.Serialization.JsonConverterAttribute : Type -> System.Text.Json.Serialization.JsonConverterAttribute
Public Sub New (converterType As Type)
參數
- converterType
- Type
轉換器的類型。