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

属性值

true

实现

注解

此属性始终返回 true ,因为集合是线程安全的。

适用于