共用方式為


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

Exceptions

Exception Condition
ArgumentNullException

textBuffer is null.

.NET Framework Security

See Also

Reference

ITextBufferUndoManagerProvider Interface

Microsoft.VisualStudio.Text.Operations Namespace