Bagikan melalui


BindingBase.DisableCollectionSynchronization(IEnumerable) Method

Definition

Stops synchronization on the collection.

public:
 static void DisableCollectionSynchronization(System::Collections::IEnumerable ^ collection);
public static void DisableCollectionSynchronization (System.Collections.IEnumerable collection);
static member DisableCollectionSynchronization : System.Collections.IEnumerable -> unit
Public Shared Sub DisableCollectionSynchronization (collection As IEnumerable)

Parameters

collection
IEnumerable

The collection on which to stop synchronization.

Remarks

See EnableCollectionSynchronization(IEnumerable, Object, CollectionSynchronizationCallback) for more information on enabling and disabling synchronization of collections in multithreaded environments.

Applies to