Compartilhar via


IEditorFormatMap.BeginBatchUpdate Method

Begins a batch update on this IEditorFormatMap. Events will not be raised until EndBatchUpdate is called.

Namespace:  Microsoft.VisualStudio.Text.Classification
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaração
Sub BeginBatchUpdate
void BeginBatchUpdate()
void BeginBatchUpdate()
abstract BeginBatchUpdate : unit -> unit 
function BeginBatchUpdate()

Exceptions

Exception Condition
InvalidOperationException

BeginBatchUpdate was called for a second time without calling EndBatchUpdate.

Remarks

You must call EndBatchUpdate in order to re-enable FormatMappingChanged events.

.NET Framework Security

See Also

Reference

IEditorFormatMap Interface

Microsoft.VisualStudio.Text.Classification Namespace