Compartilhar via


IVsHiddenTextSessionEx2.StartBatch Method

Tells the hidden text session to start batching outlining changes.

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

Syntax

'Declaração
Function StartBatch As Integer
int StartBatch()
int StartBatch()
abstract StartBatch : unit -> int 
function StartBatch() : 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 EndBatch 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