NSPersistentStoreDescription.ShouldAddStoreAsynchronously 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定值,這個值可控制存放區是否加入呼叫執行緒或背景執行緒上。
public virtual bool ShouldAddStoreAsynchronously { [Foundation.Export("shouldAddStoreAsynchronously")] get; [Foundation.Export("setShouldAddStoreAsynchronously:")] set; }
member this.ShouldAddStoreAsynchronously : bool with get, set
屬性值
false
,預設值,用來載入主執行緒上的存放區。 true
在背景執行緒上載入存放區。
- 屬性