DataContractSerializer.DataContractResolver 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取用于动态将 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 构造函数设置的。