Completor.RefreshLine 方法

获取文本当前行从 Source 对象的。

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

语法

声明
Public Sub RefreshLine
public void RefreshLine()

备注

此方法从文本视图检索当前行的整个内容通过调用在 Completor 类构造函数获取的 Source 对象的 GetLine 方法。

,如果 TypeLeftTypeRight 方法调用,整个行是捕获为其缓存以供将来使用。

.NET Framework 安全性

请参见

参考

Completor 类

Microsoft.VisualStudio.Package 命名空间