InternalDataCollectionBase.SyncRoot 属性

定义

获取可用于同步集合的对象。Gets an object that can be used to synchronize the collection.

public:
 property System::Object ^ SyncRoot { System::Object ^ get(); };
[System.ComponentModel.Browsable(false)]
public object SyncRoot { get; }
member this.SyncRoot : obj
Public ReadOnly Property SyncRoot As Object

属性值

用于同步集合的 ObjectThe Object used to synchronize the collection.

实现

属性

注解

不应将 BaseCollection 类及其成员用作独立组件,而是用作其他集合类从中派生标准功能的类。The BaseCollection class and its members are not intended for use as a stand-alone component, but as the class from which other collection classes derive standard functionality.

适用于