BindingOperations.AccessCollection(IEnumerable, Action, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides access to a collection by using the synchronization mechanism that the application specified when it called EnableCollectionSynchronization.
public:
static void AccessCollection(System::Collections::IEnumerable ^ collection, Action ^ accessMethod, bool writeAccess);
public static void AccessCollection (System.Collections.IEnumerable collection, Action accessMethod, bool writeAccess);
static member AccessCollection : System.Collections.IEnumerable * Action * bool -> unit
Public Shared Sub AccessCollection (collection As IEnumerable, accessMethod As Action, writeAccess As Boolean)
Parameters
- collection
- IEnumerable
The collection to access.
- accessMethod
- Action
The action to perform on the collection.
- writeAccess
- Boolean
true
if accessMethod
will write to the collection; otherwise, false
.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.