ITextBufferUndoManagerProvider.RemoveTextBufferUndoManager Method
Removes the ITextBufferUndoManager for the specified text buffer.
Namespace: Microsoft.VisualStudio.Text.Operations
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'宣告
Sub RemoveTextBufferUndoManager ( _
textBuffer As ITextBuffer _
)
void RemoveTextBufferUndoManager(
ITextBuffer textBuffer
)
void RemoveTextBufferUndoManager(
ITextBuffer^ textBuffer
)
abstract RemoveTextBufferUndoManager :
textBuffer:ITextBuffer -> unit
function RemoveTextBufferUndoManager(
textBuffer : ITextBuffer
)
Parameters
- textBuffer
Type: Microsoft.VisualStudio.Text.ITextBuffer
The ITextBuffer to check.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | textBuffer is null. |
.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.