ExpansionProvider.TextView 属性

返回包含源文件的文本视图后操作外接程序。

命名空间:  Microsoft.VisualStudio.Package
程序集:   Microsoft.VisualStudio.Package.LanguageService.10.0(在 Microsoft.VisualStudio.Package.LanguageService.10.0.dll 中)
  Microsoft.VisualStudio.Package.LanguageService(在 Microsoft.VisualStudio.Package.LanguageService.dll 中)
  Microsoft.VisualStudio.Package.LanguageService.9.0(在 Microsoft.VisualStudio.Package.LanguageService.9.0.dll 中)
  Microsoft.VisualStudio.Package.LanguageService.11.0(在 Microsoft.VisualStudio.Package.LanguageService.11.0.dll 中)

语法

声明
Public ReadOnly Property TextView As IVsTextView
public IVsTextView TextView { get; }

属性值

类型:Microsoft.VisualStudio.TextManager.Interop.IVsTextView
返回传递给 DisplayExpansionBrowserInsertSpecificExpansionInsertNamedExpansionFindExpansionByShortcut 方法的 IVsTextView 对象。

备注

在返回的值部分介绍的方法的文本视图一有可能设置。

.NET Framework 安全性

请参见

参考

ExpansionProvider 类

Microsoft.VisualStudio.Package 命名空间