共用方式為


DataContractSerializer.DataContractResolver 屬性

定義

取得用來將 xsi:type 宣告動態對應至已知合約型別的元件。

public:
 property System::Runtime::Serialization::DataContractResolver ^ DataContractResolver { System::Runtime::Serialization::DataContractResolver ^ get(); };
public System.Runtime.Serialization.DataContractResolver? DataContractResolver { get; }
public System.Runtime.Serialization.DataContractResolver DataContractResolver { get; }
member this.DataContractResolver : System.Runtime.Serialization.DataContractResolver
Public ReadOnly Property DataContractResolver As DataContractResolver

屬性值

DataContractResolver 類別的實作。

備註

DataContractResolver 是使用 DataContractSerializer 建構函式設定的。

適用於