NSPersistentStoreDescription.ShouldAddStoreAsynchronously 属性

定义

获取或设置一个值,该值控制是在调用线程还是后台线程上添加存储。

public virtual bool ShouldAddStoreAsynchronously { [Foundation.Export("shouldAddStoreAsynchronously")] get; [Foundation.Export("setShouldAddStoreAsynchronously:")] set; }
member this.ShouldAddStoreAsynchronously : bool with get, set

属性值

false默认值,用于在主线程上加载存储。 true 以在后台线程上加载存储。

属性

适用于