Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataContractSerializer Properties

The DataContractSerializer type exposes the following members.

Public property DataContractResolver Gets the component used to dynamically map xsi:type declarations to known contract types.
Public property DataContractSurrogate Gets a surrogate type that can extend the serialization or deserialization process.
Public property IgnoreExtensionDataObject Gets a value that specifies whether to ignore data supplied by an extension of the class when the class is being serialized or deserialized.
Public property KnownTypes Gets a collection of types that may be present in the object graph serialized using this instance of the DataContractSerializer.
Public property MaxItemsInObjectGraph Gets the maximum number of items in an object graph to serialize or deserialize.
Public property PreserveObjectReferences Gets a value that specifies whether to use non-standard XML constructs to preserve object reference data.
© 2018 Microsoft