ListItemCollection.SyncRoot Property

 

Gets the object that can be used to synchronize access to the ListItemCollection.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public object SyncRoot { get; }

Property Value

Type: System.Object

An object that can be used to synchronize access to the collection.

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

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

.NET Framework
Available since 1.1
Return to top
Show: