JsonTypeInfo<T>.SerializeHandler 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
序列化使用JsonSourceGenerationOptionsAttribute设计时指定的值的实例T
。
public:
property Action<System::Text::Json::Utf8JsonWriter ^, T> ^ SerializeHandler { Action<System::Text::Json::Utf8JsonWriter ^, T> ^ get(); };
public Action<System.Text.Json.Utf8JsonWriter,T>? SerializeHandler { get; }
member this.SerializeHandler : Action<System.Text.Json.Utf8JsonWriter, 'T>
Public ReadOnly Property SerializeHandler As Action(Of Utf8JsonWriter, T)
属性值
注解
写入后不会刷新编写器。