PreserveObjectReferences Property

DataContractSerializerSettings.PreserveObjectReferences Property

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

Gets or sets a value that specifies whether to use non-standard XML constructs to preserve object reference data.

Namespace:  System.Runtime.Serialization
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

public bool PreserveObjectReferences { get; set; }

Property Value

Type: System.Boolean
True to use non-standard XML constructs to preserve object reference data; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft