ITextBufferUndoManagerProvider::GetTextBufferUndoManager Method (ITextBuffer^)

 

Gets the cached ITextBufferUndoManager for the specified ITextBuffer.

Namespace:   Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

ITextBufferUndoManager^ GetTextBufferUndoManager(
	ITextBuffer^ textBuffer
)

Exception Condition
ArgumentNullException

textBuffer is null.

If no undo manager has been cached, it creates a new ITextBufferUndoManager and caches it with the specified ITextBuffer.

Return to top
Show: