Επεξεργασία

Κοινή χρήση μέσω


AnnotationStore.AutoFlush Property

Definition

Gets or sets a value that indicates whether data in annotation buffers is to be written immediately to the physical data store.

public:
 abstract property bool AutoFlush { bool get(); void set(bool value); };
public abstract bool AutoFlush { get; set; }
member this.AutoFlush : bool with get, set
Public MustOverride Property AutoFlush As Boolean

Property Value

true if data in annotation buffers is to be written immediately to the physical data store for each operation; otherwise, false if data in the annotation buffers is to be written when the application explicitly calls Flush().

Remarks

Applications that use an explicit-save model can set AutoFlush to false and call Flush directly when appropriate.

Applications that use an implicit-save model can set AutoFlush to true to cause Flush to be called automatically after every store operation (add, delete, or modify).

Applies to

See also