JsonConverterAttribute 构造函数

定义

重载

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

转换器的类型。

适用于