DataContractSerializer.DataContractResolver Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the component used to dynamically map xsi:type declarations to known contract types.

Namespace:   System.Runtime.Serialization
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

public DataContractResolver DataContractResolver { get; }

Property Value

Type: System.Runtime.Serialization.DataContractResolver

An implementation of the DataContractResolver class.

The DataContractResolver is set using a DataContractSerializer constructor.

.NET Framework
Available since 4.0
Return to top