Freigeben über


ExpansionProvider.TextView Property

Definition

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

public:
 property Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ TextView { Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ get(); };
public:
 property Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ TextView { Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ get(); };
public Microsoft.VisualStudio.TextManager.Interop.IVsTextView TextView { get; }
member this.TextView : Microsoft.VisualStudio.TextManager.Interop.IVsTextView
Public ReadOnly Property TextView As IVsTextView

Property Value

Returns the IVsTextView object that was passed to the DisplayExpansionBrowser(IVsTextView, String, String[], Boolean, String[], Boolean), InsertSpecificExpansion(IVsTextView, XmlElement, TextSpan, String), InsertNamedExpansion(IVsTextView, String, String, TextSpan, Boolean), and FindExpansionByShortcut(IVsTextView, String, TextSpan, Boolean, String, String) methods.

Remarks

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

Applies to