Share via


IVsHiddenTextSessionEx2.EndBatch Method

Tells the hidden text session to stop batching outlining changes.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.10.0 (in Microsoft.VisualStudio.TextManager.Interop.10.0.dll)

Syntax

'Declaration
Function EndBatch As Integer
int EndBatch()
int EndBatch()
abstract EndBatch : unit -> int 
function EndBatch() : int

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

This method can be used in combination with StartBatch to fold together events that are raised when calling Invalidate multiple times.

.NET Framework Security

See Also

Reference

IVsHiddenTextSessionEx2 Interface

Microsoft.VisualStudio.TextManager.Interop Namespace