AnnotationStore.AutoFlush Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).