DataListItemCollection.SyncRoot 属性

定义

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

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

属性值

可用于同步集合访问的 ObjectA Object that can be used to synchronize access to the collection.

实现

注解

此实现中返回的对象是DataListItemCollection对象本身。The object returned in this implementation is the DataListItemCollection object itself.

有关SyncRoot属性的详细信息, ICollection.SyncRoot请参阅System.Collections.ICollection接口的属性。For more information on the SyncRoot property, see the ICollection.SyncRoot property of the System.Collections.ICollection interface.

适用于

另请参阅