CookieCollection.ICollection.IsSynchronized 属性

定义

获取一个值,该值指示对 CookieCollection 的访问是否是线程安全的。Gets a value that indicates whether access to a CookieCollection is thread safe.

property bool System::Collections::ICollection::IsSynchronized { bool get(); };
bool System.Collections.ICollection.IsSynchronized { get; }
member this.System.Collections.ICollection.IsSynchronized : bool
 ReadOnly Property IsSynchronized As Boolean Implements ICollection.IsSynchronized

属性值

Boolean

如果对 CookieCollection 的访问是线程安全的,则为 true;否则为 falsetrue if access to the CookieCollection is thread safe; otherwise, false. 默认值为 falseThe default is false.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 CookieCollection 实例被强制转换为 ICollection 接口时使用。It can be used only when the CookieCollection instance is cast to an ICollection interface.

适用于