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)

public:
void Flush()

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.

Return to top
Show: