共用方式為


ITextSnapshotLine.Length 屬性

取得行的長度,但不包括任何分行符號字元。

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

語法

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

屬性值

類型:Int32
行,不包括任何分行符號字元的長度。

.NET Framework 安全性

請參閱

參考

ITextSnapshotLine 介面

Microsoft.VisualStudio.Text 命名空間