使用英语阅读

通过


ITextSelection.TextView Property

Gets the text view to which this selection belongs.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

ITextView TextView { get; }

Property Value

Type: Microsoft.VisualStudio.Text.Editor.ITextView
The text view.

.NET Framework Security

See Also

Reference

ITextSelection Interface

Microsoft.VisualStudio.Text.Editor Namespace