DataContractSerializerSettings.DataContractResolver 属性

定义

获取或设置用于动态将 xsi:type 声明映射到已知协定类型的组件。

public:
 property System::Runtime::Serialization::DataContractResolver ^ DataContractResolver { System::Runtime::Serialization::DataContractResolver ^ get(); void set(System::Runtime::Serialization::DataContractResolver ^ value); };
public System.Runtime.Serialization.DataContractResolver DataContractResolver { get; set; }
public System.Runtime.Serialization.DataContractResolver? DataContractResolver { get; set; }
member this.DataContractResolver : System.Runtime.Serialization.DataContractResolver with get, set
Public Property DataContractResolver As DataContractResolver

属性值

用于动态将 xsi:type 声明映射到已知协定类型的组件。

适用于