Share via


DesignerDocDataService.Flush Method

Performs a forced flush of all pending changes to the designer.

Namespace:  Microsoft.VisualStudio.Shell.Design.Serialization
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Public Sub Flush
public void Flush()
public:
void Flush()
member Flush : unit -> unit 
public function Flush()

Remarks

If the designer is in a transaction or is loading or in some other state where a flush should be either deferred or not allowed, this method queues an event to perform a flush after the transaction, load or other state completes. This is a useful method to force everything that is currently stored in memory to be pushed to the underlying doc data buffers in Visual Studio.

.NET Framework Security

See Also

Reference

DesignerDocDataService Class

Microsoft.VisualStudio.Shell.Design.Serialization Namespace