DataContractSerializer Properties

  Name Description
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.