共用方式為


JsonSourceGenerationOptionsAttribute.IgnoreReadOnlyProperties 屬性

定義

取得或設定值,指出是否忽略唯讀屬性。

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

屬性值

Boolean

適用於