BindingBase.DisableCollectionSynchronization(IEnumerable) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.