VsTextBufferClass.GetUndoManager(IOleUndoManager) Method

Definition

Returns the undo manager for this buffer.

public:
 virtual int GetUndoManager([Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IOleUndoManager ^ % ppUndoManager) = Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer::GetUndoManager;
public:
 virtual int GetUndoManager([Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IOleUndoManager ^ &  ppUndoManager) = Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer::GetUndoManager;
 virtual int GetUndoManager([Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IOleUndoManager const & & ppUndoManager);
public virtual int GetUndoManager (out Microsoft.VisualStudio.OLE.Interop.IOleUndoManager ppUndoManager);
abstract member GetUndoManager :  -> int
override this.GetUndoManager :  -> int
Public Overridable Function GetUndoManager (ByRef ppUndoManager As IOleUndoManager) As Integer

Parameters

ppUndoManager
IOleUndoManager

[out] Pointer to the IOleUndoManager interface.

Returns

If the method succeeds, returns S_OK; otherwise, returns an error code.

Implements

Applies to