共用方式為


ReferenceHandler.CreateResolver 方法

定義

傳回用於每個序列化呼叫的 ReferenceResolver

public:
 abstract System::Text::Json::Serialization::ReferenceResolver ^ CreateResolver();
public abstract System.Text.Json.Serialization.ReferenceResolver CreateResolver ();
abstract member CreateResolver : unit -> System.Text.Json.Serialization.ReferenceResolver
Public MustOverride Function CreateResolver () As ReferenceResolver

傳回

ReferenceResolver

要用於序列化和還原序列化的解析程式。

適用於