Прочитај на енглеском Уреди

Делите путем


DataKeyArray.SyncRoot Property

Definition

Gets the object used to synchronize access to the collection.

C#
public object SyncRoot { get; }

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

Производ Верзије
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also