Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

void BeginBatchUpdate()

ExceptionCondition
InvalidOperationException

BeginBatchUpdate was called for a second time without calling EndBatchUpdate.

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

Show:
© 2015 Microsoft