共用方式為


ITextViewLine.IsFirstTextViewLineForSnapshotLine Property

Determines whether this ITextViewLine is the first line in the list of lines formatted for a particular ITextSnapshotLine.

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

Syntax

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

Property Value

Type: System.Boolean
true if this ITextViewLine is the first line in the list of lines formatted for a particular ITextSnapshotLine, otherwise false.

Remarks

This property is always true for lines that are not word-wrapped.

.NET Framework Security

See Also

Reference

ITextViewLine Interface

Microsoft.VisualStudio.Text.Formatting Namespace