Compartilhar via


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

Return Value

Type: System.Int32
If the method succeeds, returns S_OK; otherwise, returns an error code.

Implements

IVsTextBuffer.GetUndoManager(IOleUndoManager%)

.NET Framework Security

See Also

Reference

VsTextBufferClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace