NSPersistentStoreCoordinator.DestroyPersistentStore 方法

定义

销毁位于指定 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

参数

url
NSUrl
storeType
String
options
NSDictionary

内容待定。

此参数可以为 null

error
NSError

内容待定。

此参数可以为 null

返回

属性

适用于