SyncRoot Property
Collapse the table of content
Expand the table of content

InternalDataCollectionBase.SyncRoot Property

Gets an object that can be used to synchronize the 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

The object used to synchronize the collection.

Implements

ICollection.SyncRoot

Remarks

The BaseCollection class and its members are not intended for use as a stand alone component, but as the class from which other collection classes derive standard functionality.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

InternalDataCollectionBase Class | InternalDataCollectionBase Members | System.Data Namespace

Show:
© 2016 Microsoft