HttpRequestOptions.ICollection<KeyValuePair<String,Object>>.IsReadOnly 属性

定义

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

C#
bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.IsReadOnly { get; }

属性值

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

实现

注解

此成员是显式接口成员的实现。 它只能在 HttpRequestOptions 实例被强制转换为 ICollection<T> 接口时使用。

适用于

产品 版本
.NET 5, 6, 7, 8, 9