IndentedStringBuilder.AppendLine 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| AppendLine(FormattableString) |
將目前的縮排、給定字串及新行附加於正在建立的字串上。 |
| AppendLine(String) |
將目前的縮排、給定字串及新行附加於正在建立的字串上。 |
| AppendLine() |
在正在建造的弦上加上一行新線。 |
AppendLine(FormattableString)
將目前的縮排、給定字串及新行附加於正在建立的字串上。
public virtual Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder AppendLine(FormattableString value);
abstract member AppendLine : FormattableString -> Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder
override this.AppendLine : FormattableString -> Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder
Public Overridable Function AppendLine (value As FormattableString) As IndentedStringBuilder
參數
- value
- FormattableString
要附加的字串。
傳回
這個建構器讓額外的通話可以串聯起來。
適用於
AppendLine(String)
將目前的縮排、給定字串及新行附加於正在建立的字串上。
public virtual Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder AppendLine(string value);
abstract member AppendLine : string -> Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder
override this.AppendLine : string -> Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder
Public Overridable Function AppendLine (value As String) As IndentedStringBuilder
參數
- value
- String
要附加的字串。
傳回
這個建構器讓額外的通話可以串聯起來。
備註
如果給定字串本身包含新行,該新行之後的字串部分不會縮排。
適用於
AppendLine()
在正在建造的弦上加上一行新線。
public virtual Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder AppendLine();
abstract member AppendLine : unit -> Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder
override this.AppendLine : unit -> Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder
Public Overridable Function AppendLine () As IndentedStringBuilder
傳回
這個建構器讓額外的通話可以串聯起來。