AccessCollection Method

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)

static member AccessCollection : 
        collection:IEnumerable *
        accessMethod:Action *
        writeAccess:bool -> unit

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