語言

JsonObjectInfoValues<T>.ObjectCreator 屬性

定義

在反序列化過程中,透過無參數建構子建立類別或結構體的實例,取得或設定機制。

public:
 property Func<T> ^ ObjectCreator { Func<T> ^ get(); void set(Func<T> ^ value); };
public Func<T>? ObjectCreator { get; init; }
member this.ObjectCreator : Func<'T> with get, set
Public Property ObjectCreator As Func(Of T)

屬性值

Func<T>

備註

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

適用於