BindingOperations::AccessCollection Method (IEnumerable^, Action^, Boolean)
.NET Framework (current version)
Provides access to a collection by using the synchronization mechanism that the application specified when it called EnableCollectionSynchronization.
Assembly: PresentationFramework (in PresentationFramework.dll)
public: static void AccessCollection( IEnumerable^ collection, Action^ accessMethod, bool writeAccess )
Parameters
- collection
-
Type:
System.Collections::IEnumerable^
The collection to access.
- accessMethod
-
Type:
System::Action^
The action to perform on the collection.
- writeAccess
-
Type:
System::Boolean
true if accessMethod will write to the collection; otherwise, false.
.NET Framework
Available since 4.5
Available since 4.5
Show: