DataKeyCollection.SyncRoot Property

Definition

Gets the object used to synchronize access to the DataKeyCollection.

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

Property Value

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

Implements

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.

Applies to

See also