Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataContractSerializer Properties

The DataContractSerializer type exposes the following members.

  Name Description
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 Supported by Portable Class Library 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 Supported by Portable Class Library KnownTypes Gets a collection of types that may be present in the object graph serialized using this instance of the DataContractSerializer.
Public property Supported by Portable Class Library MaxItemsInObjectGraph Gets the maximum number of items in an object graph to serialize or deserialize.
Public property Supported by Portable Class Library PreserveObjectReferences Gets a value that specifies whether to use non-standard XML constructs to preserve object reference data.
Public property SerializeReadOnlyTypes Gets a value that specifies whether read-only types are serialized.
Top
Show:
© 2015 Microsoft