Udostępnij za pośrednictwem


JsonObjectInfoValues<T>.SerializeHandler Właściwość

Definicja

Pobiera lub ustawia implementację serializacji dla wystąpień klasy lub struktury, która zakłada opcje określone przez 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)

Wartość właściwości

Uwagi

Ten interfejs API jest używany przez dane wyjściowe generatora źródłowego System.Text.Json i nie powinien być wywoływany bezpośrednio.

Dotyczy