DetailsViewRowCollection.SyncRoot Property

Definition

Gets the object used to synchronize access to the collection.

public:
 property System::Object ^ SyncRoot { System::Object ^ get(); };
public object SyncRoot { get; }
member this.SyncRoot : obj
Public ReadOnly Property SyncRoot As Object

Property Value

Object

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

Implements

Remarks

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.

Applies to

See also