語言

IndentedStringBuilder.AppendLines(String, Boolean) 方法

定義

將給定字串分成行,然後在每行前加上當前縮排並接新行,附加在正在建立的字串上。

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,則終止的新行不會在最後一行之後加入。

傳回

這個建構器讓額外的通話可以串聯起來。

適用於