Share via


NSPersistentStoreDescription.ShouldAddStoreAsynchronously Property

Definition

Gets or sets a value that controls whether the store is added on the calling thread or on a background thread.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldAddStoreAsynchronously { [Foundation.Export("shouldAddStoreAsynchronously")] get; [Foundation.Export("setShouldAddStoreAsynchronously:")] set; }
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<get: Foundation.Export("shouldAddStoreAsynchronously")>]
[<set: Foundation.Export("setShouldAddStoreAsynchronously:")>]
member this.ShouldAddStoreAsynchronously : bool with get, set

Property Value

false, the default value, to load the store on the main thread. true to load the store on a background thread.

Attributes

Applies to