CookieCollection.IsReadOnly 属性

定义

获取一个值,该值指示 CookieCollection 是否为只读。Gets a value that indicates whether a CookieCollection is read-only.

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

属性值

如果该集合为只读 CookieCollection,则为 true;否则为 falsetrue if this is a read-only CookieCollection; otherwise, false. 默认值为 trueThe default is true.

适用于

另请参阅