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
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 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.
Public property SerializeReadOnlyTypes Gets a value that specifies whether read-only types are serialized.

© 2015 Microsoft