PropertyDataCollection.SyncRoot 属性

定义

获取要用于同步的对象。Gets the object to be used for synchronization.

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

属性值

返回一个 Object 值,该值包含要用于同步的对象。Returns an Object value containing the object to be used for synchronization.

实现

注解

属性值Property Value

要用于同步的对象。The object to be used for synchronization.

.NET Framework 安全性.NET Framework Security

对直接调用方的完全信任。Full trust for the immediate caller. 此成员不能由部分信任的代码使用。This member cannot be used by partially trusted code. 有关详细信息, 请参阅从部分受信任的代码使用库For more information, see Using Libraries from Partially Trusted Code.

适用于

另请参阅