Share via


VsTextBufferClass.IVsTextLines_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 IVsTextLines_GetUndoManager ( _
    <OutAttribute> ByRef ppUndoManager As IOleUndoManager _
) As Integer
public virtual int IVsTextLines_GetUndoManager(
    out IOleUndoManager ppUndoManager
)
public:
virtual int IVsTextLines_GetUndoManager(
    [OutAttribute] IOleUndoManager^% ppUndoManager
)
abstract IVsTextLines_GetUndoManager : 
        ppUndoManager:IOleUndoManager byref -> int  
override IVsTextLines_GetUndoManager : 
        ppUndoManager:IOleUndoManager byref -> int
public function IVsTextLines_GetUndoManager(
    ppUndoManager : IOleUndoManager
) : int

Parameters

Return Value

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

Implements

IVsTextLines.GetUndoManager(IOleUndoManager%)

.NET Framework Security

See Also

Reference

VsTextBufferClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace