JsonArray.IsReadOnly 属性

定义

获取一个值,该值指示 ICollection<T> 是否为只读。

public:
 property bool IsReadOnly { bool get(); };
public bool IsReadOnly { get; }
member this.IsReadOnly : bool
Public ReadOnly Property IsReadOnly As Boolean

属性值

如果 true 是只读的,则为 ICollection<T>;否则为 false

实现

注解

注意

命名空间 System.Json 是为不再受支持的 Silverlight 设计的。 若要处理 JSON,建议改用 命名空间中的 System.Text.Json API。

适用于