TextBuffer.Lines 屬性
這個 API 支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。
僅限 Microsoft 內部使用。
命名空間: EnvDTE
組件: EnvDTE (在 EnvDTE.dll 中)
語法
'宣告
ReadOnly Property Lines ( _
StartLine As Integer, _
Count As Integer _
) As String
string this[
int StartLine,
int Count
] { get; }
property String^ Lines[[InAttribute] int StartLine, [InAttribute] int Count] {
String^ get ([InAttribute] int StartLine, [InAttribute] int Count);
}
abstract Lines : string
JScript 不支援索引屬性。
參數
- StartLine
型別:System.Int32
第一行。
- Count
型別:System.Int32
行數。
屬性值
型別:System.String
包含指定行的字串。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。