Compartilhar via


NSPersistentStoreCoordinator.DestroyPersistentStore Método

Definição

Destrói o repositório persistente localizado no especificado url.

[Foundation.Export("destroyPersistentStoreAtURL:withType:options:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool DestroyPersistentStore (Foundation.NSUrl url, string storeType, Foundation.NSDictionary options, out Foundation.NSError error);
abstract member DestroyPersistentStore : Foundation.NSUrl * string * Foundation.NSDictionary *  -> bool
override this.DestroyPersistentStore : Foundation.NSUrl * string * Foundation.NSDictionary *  -> bool

Parâmetros

url
NSUrl
storeType
String
options
NSDictionary

A ser adicionado.

Esse parâmetro pode ser null.

error
NSError

A ser adicionado.

Esse parâmetro pode ser null.

Retornos

Atributos

Aplica-se a