Επεξεργασία

Κοινή χρήση μέσω


DataContractSerializerSettings.SerializeReadOnlyTypes Property

Definition

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

public:
 property bool SerializeReadOnlyTypes { bool get(); void set(bool value); };
public bool SerializeReadOnlyTypes { get; set; }
member this.SerializeReadOnlyTypes : bool with get, set
Public Property SerializeReadOnlyTypes As Boolean

Property Value

true to serialize read only types; otherwise, false.

Applies to