HttpRequestOptions.ICollection<KeyValuePair<String,Object>>.IsReadOnly 属性
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个值,该值指示 ICollection<T> 是否为只读。
property bool System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String,System::Object>>::IsReadOnly { bool get(); };
C#
bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.IsReadOnly { get; }
member this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.IsReadOnly : bool
ReadOnly Property IsReadOnly As Boolean Implements ICollection(Of KeyValuePair(Of String, Object)).IsReadOnly
如果 true
是只读的,则为 ICollection<T>;否则为 false
。
此成员是显式接口成员的实现。 它只能在 HttpRequestOptions 实例被强制转换为 ICollection<T> 接口时使用。
产品 | 版本 |
---|---|
.NET | 5, 6, 7, 8, 9 |