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>
型別為 ITextSnapshotLine 的 IEnumerable。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。