共用方式為


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

'宣告
Public Overridable Function GetUndoManager ( _
    <OutAttribute> ByRef ppUndoManager As IOleUndoManager _
) As Integer
'用途
Dim instance As VsTextBufferClass
Dim ppUndoManager As IOleUndoManager
Dim returnValue As Integer

returnValue = instance.GetUndoManager(ppUndoManager)
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

Implements

IVsTextBuffer.GetUndoManager(IOleUndoManager%)

.NET Framework Security

See Also

Reference

VsTextBufferClass Class

VsTextBufferClass Members

Microsoft.VisualStudio.TextManager.Interop Namespace