BindingOperations::AccessCollection Method

.NET Framework 4.6 and 4.5

Provides access to a collection by using the synchronization mechanism that the application specified when it called EnableCollectionSynchronization.

Namespace:  System.Windows.Data
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

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft