แก้ไข

แชร์ผ่าน


DataContractJsonSerializer.SerializeReadOnlyTypes Property

Definition

Gets or sets a value that specifies whether to serialize read only types.

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

Property Value

true to serialize read only types; otherwise false.

Applies to