Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SyncRoot Property
Collapse the table of content
Expand the table of content

DetailsViewRowCollection.SyncRoot Property

Gets the object used to synchronize access to the collection.

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

public Object SyncRoot { get; }

Property Value

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

Implements

ICollection.SyncRoot

Use the SyncRoot property to get an object that can be used to synchronize access to the collection. The object returned in this implementation is the DetailsViewRowCollection object itself.

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft