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

适用于