IVsBatchUpdate Interface

Definition

Initiates the incorporation of all pending data updates in a text buffer or view.

public interface class IVsBatchUpdate
public interface class IVsBatchUpdate
__interface IVsBatchUpdate
[System.Runtime.InteropServices.Guid("A2D3286E-B5AE-4981-8D32-E9053FCF997D")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsBatchUpdate
[System.Runtime.InteropServices.Guid("A2D3286E-B5AE-4981-8D32-E9053FCF997D")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsBatchUpdate
[<System.Runtime.InteropServices.Guid("A2D3286E-B5AE-4981-8D32-E9053FCF997D")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsBatchUpdate = interface
[<System.Runtime.InteropServices.Guid("A2D3286E-B5AE-4981-8D32-E9053FCF997D")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsBatchUpdate = interface
Public Interface IVsBatchUpdate
Derived
Attributes

Remarks

When a view implements this interface and registers itself with the text manager via IVsTextManager::RegisterIndependentView Method, the text manager will call FlushPendingUpdates at various critical points such as right before save, before launch, and activation of another document. When FlushPendingUpdates is called, the text buffer and all of its associated views must incorporate all pending data changes. .

Notes to Implementers

Implement this interface on any editor view or buffer that does not incorporate data changes immediately, but buffers changes for later update.

Methods

FlushPendingUpdates(UInt32)

Allows the text buffer to tell all views on it to incorporate all buffered updates.

Applies to