This documentation is archived and is not being maintained.

TableRowCollection.SyncRoot Property

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

[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

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

Implements

ICollection.SyncRoot

Remarks

The object returned in this implementation is the TableRowCollection 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

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

Show: