DataContractSerializerSettings.SerializeReadOnlyTypes Property


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

 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