共用方式為


ITextViewLineCollection.FormattedSpan 屬性

取得包含在此 ITextViewLine 集合中的文字範圍。

命名空間:  Microsoft.VisualStudio.Text.Editor
組件:  Microsoft.VisualStudio.Text.UI (在 Microsoft.VisualStudio.Text.UI.dll 中)

語法

'宣告
ReadOnly Property FormattedSpan As SnapshotSpan
SnapshotSpan FormattedSpan { get; }
property SnapshotSpan FormattedSpan {
    SnapshotSpan get ();
}
abstract FormattedSpan : SnapshotSpan with get
function get FormattedSpan () : SnapshotSpan

屬性值

類型:Microsoft.VisualStudio.Text.SnapshotSpan
文字包含在這段ITextViewLine集合。

.NET Framework 安全性

請參閱

參考

ITextViewLineCollection 介面

Microsoft.VisualStudio.Text.Editor 命名空間