IVsLayeredTextView 接口

帮助一个视图与文本层交互。

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

语法

声明
<GuidAttribute("60BD661B-133C-4B5C-A335-4B174C5A352F")> _
<InterfaceTypeAttribute()> _
Public Interface IVsLayeredTextView
[GuidAttribute("60BD661B-133C-4B5C-A335-4B174C5A352F")]
[InterfaceTypeAttribute()]
public interface IVsLayeredTextView
[GuidAttribute(L"60BD661B-133C-4B5C-A335-4B174C5A352F")]
[InterfaceTypeAttribute()]
public interface class IVsLayeredTextView
[<GuidAttribute("60BD661B-133C-4B5C-A335-4B174C5A352F")>]
[<InterfaceTypeAttribute()>]
type IVsLayeredTextView =  interface end
public interface IVsLayeredTextView

IVsLayeredTextView 类型公开以下成员。

方法

  名称 说明
公共方法 GetRelativeSelectionState 获取选定内容相对一个指定的层。
公共方法 GetSelectedAtom ,当所选内容 “中的”基本对象时,将告知客户端。
公共方法 GetTopmostLayer
公共方法 SetRelativeSelectionState 将选定内容相对一个指定的层。

页首

备注

此接口由文本视图实现。 默认情况下此接口的方法来操作顶视图层。

请参阅

参考

Microsoft.VisualStudio.TextManager.Interop 命名空间