Ant CollectionCollection Lock Field
The collection lock typically used by WPF applications to synchronize UI updates when devices are added or
removed from the collection. For example, in the code behind for a window that is using this collection
would include the following line in its constructor -
C#
BindingOperations.EnableCollectionSynchronization(viewModel.AntDevices, viewModel.AntDevices.CollectionLock);Definition
Namespace: SmallEarthTech.AntPlus.Extensions.Hosting
Assembly: SmallEarthTech.AntPlus.Extensions.Hosting (in SmallEarthTech.AntPlus.Extensions.Hosting.dll) Version: 2.0.13+3d97cae7125656f8aa334fa8994f99d6ac0acb07
Assembly: SmallEarthTech.AntPlus.Extensions.Hosting (in SmallEarthTech.AntPlus.Extensions.Hosting.dll) Version: 2.0.13+3d97cae7125656f8aa334fa8994f99d6ac0acb07
C#
public readonly Object CollectionLockVB
Public ReadOnly CollectionLock As ObjectC++
public:
initonly Object^ CollectionLockF#
val CollectionLock: Object