VsTextBufferClass.GetUndoManager 方法

返回此缓冲区的取消管理器。

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop(在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

语法

声明
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

参数

  • ppUndoManager
    类型:IOleUndoManager%

    [out] 为 IOleUndoManager 接口的指针。

返回值

类型:Int32

实现

IVsTextBuffer.GetUndoManager(IOleUndoManager%)

.NET Framework 安全性

请参阅

参考

VsTextBufferClass 类

Microsoft.VisualStudio.TextManager.Interop 命名空间