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 构造函数设置的。

适用于