語言

JsonObjectInfoValues<T>.SerializeHandler 屬性

定義

取得或設定序列化實作,針對類別或結構體的實例,該實例假設由 JsonSourceGenerationOptionsAttribute所指定的選項。

public:
 property Action<System::Text::Json::Utf8JsonWriter ^, T> ^ SerializeHandler { Action<System::Text::Json::Utf8JsonWriter ^, T> ^ get(); void set(Action<System::Text::Json::Utf8JsonWriter ^, T> ^ value); };
public Action<System.Text.Json.Utf8JsonWriter,T>? SerializeHandler { get; init; }
member this.SerializeHandler : Action<System.Text.Json.Utf8JsonWriter, 'T> with get, set
Public Property SerializeHandler As Action(Of Utf8JsonWriter, T)

屬性值

備註

此 API 供 System.Text.Json 原始碼產生器的輸出使用,不應直接呼叫。

適用於