NSPersistentStoreDescription.ShouldMigrateStoreAutomatically 属性

定义

获取或设置一个值,该值控制是否应自动迁移永久性存储。

public virtual bool ShouldMigrateStoreAutomatically { [Foundation.Export("shouldMigrateStoreAutomatically")] get; [Foundation.Export("setShouldMigrateStoreAutomatically:")] set; }
member this.ShouldMigrateStoreAutomatically : bool with get, set

属性值

true 以指示应迁移存储。 否则为 false

属性

适用于