SynchronizedCollection<T>.ICollection.IsSynchronized 属性

定义

获取一个值,指示集合是否为线程安全集合。

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

true

实现

注解

此属性总是返回 true,这是因为集合是线程安全集合。

适用于