JsonObject.ICollection<KeyValuePair<String,JsonValue>>.IsReadOnly 属性

定义

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

property bool System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String,System::Json::JsonValue>>::IsReadOnly { bool get(); };
bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Json.JsonValue>>.IsReadOnly { get; }
member this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Json.JsonValue>>.IsReadOnly : bool
 ReadOnly Property IsReadOnly As Boolean Implements ICollection(Of KeyValuePair(Of String, JsonValue)).IsReadOnly

属性值

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

实现

注解

注意

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

适用于