AnnotationStore.AutoFlush Property

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

Namespace:  System.Windows.Annotations.Storage
Assembly:  PresentationFramework (in PresentationFramework.dll)

public abstract bool AutoFlush { get; set; }

Property Value

Type: System.Boolean
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.

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).

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft