編輯

共用方式為


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