次の方法で共有


ITextSnapshotLine.Extent Property

Gets the extent of the line, excluding any line break characters.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'宣言
ReadOnly Property Extent As SnapshotSpan
SnapshotSpan Extent { get; }
property SnapshotSpan Extent {
    SnapshotSpan get ();
}
abstract Extent : SnapshotSpan
function get Extent () : SnapshotSpan

Property Value

Type: Microsoft.VisualStudio.Text.SnapshotSpan
The extent of the line, excluding any line break characters.

.NET Framework Security

See Also

Reference

ITextSnapshotLine Interface

Microsoft.VisualStudio.Text Namespace