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
'Déclaration
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
- 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
IVsTextLines.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.