다음을 통해 공유


ExpansionProvider.TextView Property

Returns the text view containing the source file being manipulated by the expansion provider.

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

Syntax

'Declaration
Public ReadOnly Property TextView As IVsTextView
public IVsTextView TextView { get; }
public:
property IVsTextView^ TextView {
    IVsTextView^ get ();
}
member TextView : IVsTextView with get
function get TextView () : IVsTextView

Property Value

Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextView
Returns the IVsTextView object that was passed to the DisplayExpansionBrowser, InsertSpecificExpansion, InsertNamedExpansion, and FindExpansionByShortcut methods.

Remarks

The text view is set at the earliest opportunity which is in the methods described in the Return Value section.

.NET Framework Security

See Also

Reference

ExpansionProvider Class

Microsoft.VisualStudio.Package Namespace