IndentedStringBuilder.AppendLines(String, Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將給定字串分成行,然後在每行前加上當前縮排並接新行,附加在正在建立的字串上。
public virtual Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder AppendLines(string value, bool skipFinalNewline = false);
abstract member AppendLines : string * bool -> Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder
override this.AppendLines : string * bool -> Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder
Public Overridable Function AppendLines (value As String, Optional skipFinalNewline As Boolean = false) As IndentedStringBuilder
參數
- value
- String
要附加的字串。
- skipFinalNewline
- Boolean
若 true,則終止的新行不會在最後一行之後加入。
傳回
這個建構器讓額外的通話可以串聯起來。