JsonSourceGenerationOptionsAttribute.IgnoreReadOnlyFields 属性

定义

获取或设置一个值,该值指示是否忽略只读字段。

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

属性值

适用于