VsTextBufferClass.GetUndoManager(IOleUndoManager) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.