ExpansionProvider.TextView Property

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

Namespace:  Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

'宣言
Public ReadOnly Property TextView As IVsTextView
'使用
Dim instance As ExpansionProvider
Dim value As IVsTextView

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

Permissions

See Also

Reference

ExpansionProvider Class

ExpansionProvider Members

Microsoft.VisualStudio.Package Namespace