共用方式為


ITextViewLine.IsFirstTextViewLineForSnapshotLine 屬性

判斷在針對特定 ITextSnapshotLine 格式化之行的清單中,此 ITextViewLine 是否為第一行。

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

語法

'宣告
ReadOnly Property IsFirstTextViewLineForSnapshotLine As Boolean
bool IsFirstTextViewLineForSnapshotLine { get; }
property bool IsFirstTextViewLineForSnapshotLine {
    bool get ();
}
abstract IsFirstTextViewLineForSnapshotLine : bool with get
function get IsFirstTextViewLineForSnapshotLine () : boolean

屬性值

類型:Boolean
true 如果此ITextViewLine是格式化為特定的行數的清單中的第一行ITextSnapshotLine,否則false。

備註

這個屬性一定是true ,都不換行。

.NET Framework 安全性

請參閱

參考

ITextViewLine 介面

Microsoft.VisualStudio.Text.Formatting 命名空間