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);
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 : IOleUndoManager -> int
override this.GetUndoManager : IOleUndoManager -> 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