共用方式為


IVsTextBufferEx Interface

Adds methods to manage change markers to the IVsTextBuffer interface.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'宣告
<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

The IVsTextBufferEx type exposes the following members.

Methods

  Name Description
Public method GetTrackChanges Determines the change tracking status of the text buffer.
Public method SetTrackChangesSuppression Suppresses change marking in the text buffer.

Top

Remarks

Use this interface to manage change tracking in the text buffer.

Call GetTrackChanges to return the change tracking status of the text buffer.

Suppress the insertion of further change markers in the buffer by calling SetTrackChangesSuppression.

Notes to Callers

This interface is implemented as part of the VsTextBuffer object. As a VSPackage implementer, call QueryInterface to get a pointer to the IVsTextBufferEx interface when using the core editor objects.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace

IVsTextBufferEx