DataContractSerializer Properties

DataContractSerializer Properties

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The DataContractSerializer type exposes the following members.

  NameDescription
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.
Top

Show:
© 2016 Microsoft