共用方式為


ViewFilter.TextView Property

Gets the IVsTextView object associated with this ViewFilter object.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.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.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)

Syntax

'宣告
Public ReadOnly Property TextView As IVsTextView
public IVsTextView TextView { get; }

Property Value

Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextView
IVsTextView .

Remarks

This is the same IVsTextView object that was passed to the ViewFilter constructor.

.NET Framework Security

See Also

Reference

ViewFilter Class

Microsoft.VisualStudio.Package Namespace