DataContractSerializerOperationBehavior.DataContractResolver Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets an implementation of the DataContractResolver that is used to dynamically map types during serialization and deserialization processes.
public:
property System::Runtime::Serialization::DataContractResolver ^ DataContractResolver { System::Runtime::Serialization::DataContractResolver ^ get(); void set(System::Runtime::Serialization::DataContractResolver ^ value); };
C#
public System.Runtime.Serialization.DataContractResolver DataContractResolver { get; set; }
member this.DataContractResolver : System.Runtime.Serialization.DataContractResolver with get, set
Public Property DataContractResolver As DataContractResolver
A class that maps an xsi:type
to a known data contract type.
For more information, see the DataContractResolver class document.
Ürün | Sürümler |
---|---|
.NET | Core 1.0, Core 1.1, 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
UWP | 10.0 |
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
.NET geri bildirimi
.NET, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: