共用方式為


ReferenceHandler<T>.CreateResolver 方法

定義

建立用於每個序列化呼叫且型別為 T 的新 ReferenceResolver

public:
 override System::Text::Json::Serialization::ReferenceResolver ^ CreateResolver();
public override System.Text.Json.Serialization.ReferenceResolver CreateResolver ();
override this.CreateResolver : unit -> System.Text.Json.Serialization.ReferenceResolver
Public Overrides Function CreateResolver () As ReferenceResolver

傳回

ReferenceResolver

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

適用於