DataContractSerializerSettings Properties

DataContractSerializerSettings Properties

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

The DataContractSerializerSettings type exposes the following members.

  NameDescription
Public property DataContractResolver Gets or sets the component used to dynamically map xsi:type declarations to known contract types.
Public property KnownTypes Gets or sets a collection of types that may be present in the object graph serialized using this instance of the DataContractSerializerSettings.
Public property MaxItemsInObjectGraph Gets or sets the maximum number of items in an object graph to serialize or deserialize.
Public property PreserveObjectReferences Gets or sets a value that specifies whether to use non-standard XML constructs to preserve object reference data.
Public property RootName Gets or sets the root name of the selected object.
Public property RootNamespace Gets or sets the root namespace for the specified object.
Public property SerializeReadOnlyTypes Gets or sets a value that specifies whether to serialize read only types.
Top

Show:
© 2017 Microsoft