VsTextBufferClass.GetUndoManager Method
Returns the undo manager for this buffer.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Public Overridable Function GetUndoManager ( _
<OutAttribute> ByRef ppUndoManager As IOleUndoManager _
) As Integer
public virtual int GetUndoManager(
out IOleUndoManager ppUndoManager
)
public:
virtual int GetUndoManager(
[OutAttribute] IOleUndoManager^% ppUndoManager
)
abstract GetUndoManager :
ppUndoManager:IOleUndoManager byref -> int
override GetUndoManager :
ppUndoManager:IOleUndoManager byref -> int
public function GetUndoManager(
ppUndoManager : IOleUndoManager
) : int
Parameters
ppUndoManager
Type: Microsoft.VisualStudio.OLE.Interop.IOleUndoManager%[out] Pointer to the IOleUndoManager interface.
Return Value
Type: System.Int32
If the method succeeds, returns S_OK; otherwise, returns an error code.
Implements
IVsTextBuffer.GetUndoManager(IOleUndoManager%)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.