IClassificationFormatMap.BeginBatchUpdate Method

Begins a batch update on this IClassificationFormatMap. 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

'Declaration
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 ClassificationFormatMappingChanged events.

.NET Framework Security

See Also

Reference

IClassificationFormatMap Interface

Microsoft.VisualStudio.Text.Classification Namespace