次の方法で共有


Completor.RefreshLine Method

Obtains the current line of text from the Source object.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'宣言
Public Sub RefreshLine
public void RefreshLine()

Remarks

This method retrieves the entire contents of the current line from the text view by calling the GetLine method on the Source object that was obtained in the Completor class constructor.

The entire line is grabbed in order to cache it for later use if the TypeLeft or TypeRight methods are called.

.NET Framework Security

See Also

Reference

Completor Class

Microsoft.VisualStudio.Package Namespace