IClassificationFormatMap.EndBatchUpdate Method

Ends a batch update on this IClassificationFormatMap and raises an event if any changes were made during the batch update.

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

void EndBatchUpdate()

ExceptionCondition
InvalidOperationException

EndBatchUpdate was called without calling BeginBatchUpdate.

You must call EndBatchUpdate in order to re-enable ClassificationFormatMappingChanged events if BeginBatchUpdate was called.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft