IEditorFormatMap.EndBatchUpdate Method
Ends a batch update on this IEditorFormatMap 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)
Syntax
'Декларация
Sub EndBatchUpdate
void EndBatchUpdate()
void EndBatchUpdate()
abstract EndBatchUpdate : unit -> unit
function EndBatchUpdate()
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | EndBatchUpdate was called without calling BeginBatchUpdate first. |
Remarks
You must call EndBatchUpdate in order to re-enable FormatMappingChanged events if BeginBatchUpdate was called.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.