共用方式為


IVsBatchUpdate.FlushPendingUpdates Method

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

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'宣告
Function FlushPendingUpdates ( _
    dwReserved As UInteger _
) As Integer
'用途
Dim instance As IVsBatchUpdate
Dim dwReserved As UInteger
Dim returnValue As Integer

returnValue = instance.FlushPendingUpdates(dwReserved)
int FlushPendingUpdates(
    uint dwReserved
)
int FlushPendingUpdates(
    unsigned int dwReserved
)
function FlushPendingUpdates(
    dwReserved : uint
) : int

Parameters

  • dwReserved
    Type: System.UInt32

    Double word. Reserved for future use.

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsBatchUpdate::FlushPendingUpdates(
   DWORD dwReserved
);

Permissions

See Also

Reference

IVsBatchUpdate Interface

IVsBatchUpdate Members

Microsoft.VisualStudio.Shell.Interop Namespace