This documentation is archived and is not being maintained.

DataKeyCollection.SyncRoot Property

Gets the object used to synchronize access to the DataKeyCollection.

[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 DataKeyCollection 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

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

Show: