NSPersistentStoreCoordinator.ReplacePersistentStore 메서드

정의

의 영구 저장소를 의 destinationUrlsourceUrl영구 저장소로 바꿉니다.

[Foundation.Export("replacePersistentStoreAtURL:destinationOptions:withPersistentStoreFromURL:sourceOptions:storeType: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 ReplacePersistentStore (Foundation.NSUrl destinationUrl, Foundation.NSDictionary destinationOptions, Foundation.NSUrl sourceUrl, Foundation.NSDictionary sourceOptions, string storeType, out Foundation.NSError error);
abstract member ReplacePersistentStore : Foundation.NSUrl * Foundation.NSDictionary * Foundation.NSUrl * Foundation.NSDictionary * string *  -> bool
override this.ReplacePersistentStore : Foundation.NSUrl * Foundation.NSDictionary * Foundation.NSUrl * Foundation.NSDictionary * string *  -> bool

매개 변수

destinationUrl
NSUrl
destinationOptions
NSDictionary

추가될 예정입니다.

이 매개 변수는 null일 수 있습니다.

sourceUrl
NSUrl
sourceOptions
NSDictionary

추가될 예정입니다.

이 매개 변수는 null일 수 있습니다.

storeType
String
error
NSError

추가될 예정입니다.

이 매개 변수는 null일 수 있습니다.

반환

특성

적용 대상