NSPersistentStoreCoordinator.RemovePersistentStore Method

Definition

Removes the specified store and reports any errors that are encountered.

[Foundation.Export("removePersistentStore:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool RemovePersistentStore(CoreData.NSPersistentStore store, out Foundation.NSError error);
[<Foundation.Export("removePersistentStore:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member RemovePersistentStore : CoreData.NSPersistentStore * NSError -> bool
override this.RemovePersistentStore : CoreData.NSPersistentStore * NSError -> bool

Parameters

error
NSError

Returns

Attributes

Applies to