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
'Declaração
Public Sub Flush
public void 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.