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
声明
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
- 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.