ConcurrentStack<T>.ICollection.SyncRoot 属性

定义

获取可用于同步对 ICollection 的访问的对象。Gets an object that can be used to synchronize access to the ICollection. 不支持此属性。This property is not supported.

property System::Object ^ System::Collections::ICollection::SyncRoot { System::Object ^ get(); };
object System.Collections.ICollection.SyncRoot { get; }
System.Collections.ICollection.SyncRoot
 ReadOnly Property SyncRoot As Object Implements ICollection.SyncRoot

属性值

返回 null(在 Visual Basic 中为 Nothing)。Returns null (Nothing in Visual Basic).

实现

异常

不支持 SyncRoot 属性。The SyncRoot property is not supported

适用于

另请参阅