次の方法で共有


VsTextBufferClass.IVsTextLines_GetUndoManager(IOleUndoManager) Method

Definition

Returns the undo manager for this buffer.

public:
 virtual int IVsTextLines_GetUndoManager([Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IOleUndoManager ^ % ppUndoManager) = Microsoft::VisualStudio::TextManager::Interop::IVsTextLines::GetUndoManager;
public:
 virtual int IVsTextLines_GetUndoManager([Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IOleUndoManager ^ % ppUndoManager);
public:
 virtual int IVsTextLines_GetUndoManager([Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IOleUndoManager ^ &  ppUndoManager) = Microsoft::VisualStudio::TextManager::Interop::IVsTextLines::GetUndoManager;
 virtual int IVsTextLines_GetUndoManager([Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IOleUndoManager const & & ppUndoManager);
public virtual int IVsTextLines_GetUndoManager (out Microsoft.VisualStudio.OLE.Interop.IOleUndoManager ppUndoManager);
abstract member IVsTextLines_GetUndoManager : IOleUndoManager -> int
override this.IVsTextLines_GetUndoManager : IOleUndoManager -> int
Public Overridable Function IVsTextLines_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.

Applies to