語言

JsonCollectionInfoValues<TCollection>.ObjectCreator 屬性

定義

A Func<TResult> 用於在反序列化時建立集合的實例。

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

屬性值

Func<TCollection>

備註

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

適用於