共用方式為


ITextViewLine.Length Property

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

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

Syntax

'宣告
ReadOnly Property Length As Integer
int Length { get; }
property int Length {
    int get ();
}
abstract Length : int
function get Length () : int

Property Value

Type: System.Int32
The length of the line, excluding any line break characters.

.NET Framework Security

See Also

Reference

ITextViewLine Interface

Microsoft.VisualStudio.Text.Formatting Namespace