This documentation is archived and is not being maintained.

DataListItemCollection.SyncRoot Property

Gets the object that can be used to synchronize access to the DataListItemCollection collection.

[Visual Basic]
Public Overridable ReadOnly Property SyncRoot As Object  Implements _
   ICollection.SyncRoot
[C#]
public virtual object SyncRoot {get;}
[C++]
public: __property virtual Object* get_SyncRoot();
[JScript]
public function get SyncRoot() : Object;

Property Value

A System.Object that can be used to synchronize access to the collection.

Implements

ICollection.SyncRoot

Remarks

The object returned in this implementation is the DataListItemCollection object itself.

For more information on the SyncRoot property, see the ICollection.SyncRoot property of the System.Collections.ICollection interface.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

DataListItemCollection Class | DataListItemCollection Members | System.Web.UI.WebControls Namespace | System.Object | ICollection.SyncRoot | System.Collections.ICollection

Show: