DataContractSerializerOperationBehavior.DataContractResolver 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置 DataContractResolver 的实现,用于在序列化和反序列化过程中动态映射类型。
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; }
member this.DataContractResolver : System.Runtime.Serialization.DataContractResolver with get, set
Public Property DataContractResolver As DataContractResolver
属性值
将 xsi:type
映射到已知数据协定类型的类。
注解
有关更多信息,请参见 DataContractResolver 类文档。