Redigera

Dela via


DataContractSerializer.PreserveObjectReferences Property

Definition

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

public:
 property bool PreserveObjectReferences { bool get(); };
public bool PreserveObjectReferences { get; }
member this.PreserveObjectReferences : bool
Public ReadOnly Property PreserveObjectReferences As Boolean

Property Value

true to keep the references; otherwise, false.

Applies to