IVsTextBufferEx 接口

添加方法控制更改标记。 IVsTextBuffer 接口。

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

语法

声明
<InterfaceTypeAttribute()> _
<GuidAttribute("9F0823E9-544D-4FA0-9400-0D602C9A510E")> _
Public Interface IVsTextBufferEx
[InterfaceTypeAttribute()]
[GuidAttribute("9F0823E9-544D-4FA0-9400-0D602C9A510E")]
public interface IVsTextBufferEx
[InterfaceTypeAttribute()]
[GuidAttribute(L"9F0823E9-544D-4FA0-9400-0D602C9A510E")]
public interface class IVsTextBufferEx
[<InterfaceTypeAttribute()>]
[<GuidAttribute("9F0823E9-544D-4FA0-9400-0D602C9A510E")>]
type IVsTextBufferEx =  interface end
public interface IVsTextBufferEx

IVsTextBufferEx 类型公开以下成员。

方法

  名称 说明
公共方法 GetTrackChanges 确定文本缓冲区的更改跟踪的状态。
公共方法 SetTrackChangesSuppression 禁止在文本缓冲区的更改标签。

页首

备注

使用此接口管理跟踪的更改在文本缓冲区中。

调用 GetTrackChanges 返回文本缓冲区的更改跟踪的状态。

通过调用 SetTrackChangesSuppression禁止显示进一步的更改标记的插入到缓冲区中。

对调用者的说明

作为 VsTextBuffer 对象的一部分,该接口实现。 作为 VSPackage 实现,这样,当使用核心编辑器对象时,调用 QueryInterface 获取指向 IVsTextBufferEx 接口。

请参阅

参考

Microsoft.VisualStudio.TextManager.Interop 命名空间

IVsTextBufferEx