Rediger

Del via


DataKeyArray.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

An 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 DataKeyArray object itself.

For more information on the SyncRoot property, see the ICollection.SyncRoot property of the System.Collections.ICollection interface.

Applies to

See also