传递给 QueryService 方法返回对 IVsTextSpanSet 接口。
命名空间: Microsoft.VisualStudio.TextManager.Interop
程序集: Microsoft.VisualStudio.TextManager.Interop.8.0(在 Microsoft.VisualStudio.TextManager.Interop.8.0.dll 中)
语法
声明
<GuidAttribute("E6BBDFD0-C06A-11D2-936C-D714766E8B50")> _
Public Interface SVsTextSpanSet
[GuidAttribute("E6BBDFD0-C06A-11D2-936C-D714766E8B50")]
public interface SVsTextSpanSet
[GuidAttribute(L"E6BBDFD0-C06A-11D2-936C-D714766E8B50")]
public interface class SVsTextSpanSet
[<GuidAttribute("E6BBDFD0-C06A-11D2-936C-D714766E8B50")>]
type SVsTextSpanSet = interface end
public interface SVsTextSpanSet
备注
此服务在容器通常实现文档和引用当前文件。 例如,编辑器可以实现此服务并返回当前可见的 IVsTextSpanSet 对象。