JsonTypeInfo<T>.SerializeHandler 属性

定义

序列化使用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)

属性值

Action<Utf8JsonWriter,T>

注解

写入后不会刷新编写器。

适用于