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.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

‘선언
Public ReadOnly Property TextView As IVsTextView
    Get
‘사용 방법
Dim instance As ExpansionProvider
Dim value As IVsTextView

value = instance.TextView
public IVsTextView TextView { get; }
public:
property IVsTextView^ TextView {
    IVsTextView^ get ();
}
member TextView : IVsTextView
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

ExpansionProvider Members

Microsoft.VisualStudio.Package Namespace