JsonConverterAttribute 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
转换器的类型。