Edit

Share via


NSPersistentContainer.LoadPersistentStores Method

Definition

Loads the persistent stores in the container and runs a completion handler when finished.

C#
[Foundation.Export("loadPersistentStoresWithCompletionHandler:")]
public virtual void LoadPersistentStores(Action<CoreData.NSPersistentStoreDescription,Foundation.NSError> block);

Parameters

block
Action<NSPersistentStoreDescription,NSError>

A completion handler that takes a NSPersistentStoreDescription and an error in which to store any errors that were encountered while attempting to load the stores.

Attributes

Applies to

Product Versions
Xamarin iOS SDK 12