IDifferenceTextViewModel 接口

命名空间:  Microsoft.VisualStudio.Text.Differencing
程序集:  Microsoft.VisualStudio.Text.UI.Wpf(在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)

语法

声明
Public Interface IDifferenceTextViewModel _
    Inherits ITextViewModel, IPropertyOwner, IDisposable
public interface IDifferenceTextViewModel : ITextViewModel, 
    IPropertyOwner, IDisposable
public interface class IDifferenceTextViewModel : ITextViewModel, 
    IPropertyOwner, IDisposable
type IDifferenceTextViewModel =  
    interface 
        interface ITextViewModel 
        interface IPropertyOwner 
        interface IDisposable 
    end
public interface IDifferenceTextViewModel extends ITextViewModel, IPropertyOwner, IDisposable

IDifferenceTextViewModel 类型公开以下成员。

属性

  名称 说明
公共属性 DataBuffer 表示数据级别的 ITextBuffer。 (继承自 ITextViewModel。)
公共属性 DataModel 获取提供 DataBuffer 和托管 IContentType 视图的 ITextDataModel 。 (继承自 ITextViewModel。)
公共属性 EditBuffer 获取编辑器位置跟踪的 ITextBuffer 并应用编辑的。显示在视图中的所有文本都必须位于此缓冲区中。 (继承自 ITextViewModel。)
公共属性 Properties 获取属性所有者控制的属性集合。 (继承自 IPropertyOwner。)
公共属性 Viewer
公共属性 ViewType
公共属性 VisualBuffer 获取应在编辑器中显示内容的 ITextBuffer 。 (继承自 ITextViewModel。)

页首

方法

  名称 说明
公共方法 Dispose 执行与释放或重置非托管资源关联的应用程序定义的任务。 (继承自 IDisposable。)
公共方法 GetNearestPointInVisualBuffer 获取 VisualBuffer 中的一个点,该点与编辑缓冲区中的指定点相对应。如果该点是隐藏的或具有其他表示形式,则获取离该点最近的点。 (继承自 ITextViewModel。)
公共方法 GetNearestPointInVisualSnapshot 获取 VisualBuffer 中的一个点,该点与编辑缓冲区中的指定点相对应。如果该点是隐藏的或具有其他表示形式,则获取离该点最近的点。 (继承自 ITextViewModel。)
公共方法 IsPointInVisualBuffer 确定编辑缓冲区中的某个点是否呈现在可视缓冲区中。 (继承自 ITextViewModel。)

页首

请参阅

参考

Microsoft.VisualStudio.Text.Differencing 命名空间