共用方式為


ITextSnapshot.Lines 屬性

取得快照中的行集列舉值。

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

語法

'宣告
ReadOnly Property Lines As IEnumerable(Of ITextSnapshotLine)
IEnumerable<ITextSnapshotLine> Lines { get; }
property IEnumerable<ITextSnapshotLine^>^ Lines {
    IEnumerable<ITextSnapshotLine^>^ get ();
}
abstract Lines : IEnumerable<ITextSnapshotLine> with get
function get Lines () : IEnumerable<ITextSnapshotLine>

屬性值

類型:IEnumerable<ITextSnapshotLine>
型別為 ITextSnapshotLineIEnumerable

.NET Framework 安全性

請參閱

參考

ITextSnapshot 介面

Microsoft.VisualStudio.Text 命名空間