JsonObjectInfoValues<T>.SerializeHandler Property

Definition

Gets or sets a serialization implementation for instances of the class or struct that assumes options specified by 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)

Property Value

Remarks

This API is for use by the output of the System.Text.Json source generator and should not be called directly.

Applies to