ConcurrentBag<T>.ICollection.IsSynchronized 属性

定义

获取一个指示对 ICollection 的访问是否与 SyncRoot 同步的值。Gets a value indicating whether access to the ICollection is synchronized with the SyncRoot.

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

始终返回 false ,指示未同步访问。Always returns false to indicate access is not synchronized.

实现

注解

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

适用于

另请参阅