共用方式為


ITextViewLineCollection.FormattedSpan Property

Gets the span of text contained in this ITextViewLine collection.

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

Syntax

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

Property Value

Type: Microsoft.VisualStudio.Text.SnapshotSpan
The span of text contained in this ITextViewLine collection.

.NET Framework Security

See Also

Reference

ITextViewLineCollection Interface

Microsoft.VisualStudio.Text.Editor Namespace