NSPersistentStoreCoordinator.DestroyPersistentStore 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.
Destroys the persistent store that is located at the specified 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
Parameters
- url
- NSUrl
- storeType
- String
Returns
- Attributes