다음을 통해 공유


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일 수 있습니다.

반환

특성

적용 대상