NSPersistentStoreCoordinator.AddPersistentStore Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Agrega el almacén persistente descrito y ejecuta un controlador cuando se completa.
[Foundation.Export("addPersistentStoreWithDescription:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void AddPersistentStore (CoreData.NSPersistentStoreDescription storeDescription, Action<CoreData.NSPersistentStoreDescription,Foundation.NSError> block);
abstract member AddPersistentStore : CoreData.NSPersistentStoreDescription * Action<CoreData.NSPersistentStoreDescription, Foundation.NSError> -> unit
override this.AddPersistentStore : CoreData.NSPersistentStoreDescription * Action<CoreData.NSPersistentStoreDescription, Foundation.NSError> -> unit
Parámetros
- storeDescription
- NSPersistentStoreDescription
- Atributos