NSPersistentContainer.LoadPersistentStores 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.
Loads the persistent stores in the container and runs a completion handler when finished.
[Foundation.Export("loadPersistentStoresWithCompletionHandler:")]
public virtual void LoadPersistentStores (Action<CoreData.NSPersistentStoreDescription,Foundation.NSError> block);
abstract member LoadPersistentStores : Action<CoreData.NSPersistentStoreDescription, Foundation.NSError> -> unit
override this.LoadPersistentStores : Action<CoreData.NSPersistentStoreDescription, Foundation.NSError> -> unit
Parameters
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