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.UInt32Double 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
- 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.