Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

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
Available since 4.5
Return to top
Show:
© 2016 Microsoft