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
为 ,则在最后一行之后不会添加终止新行。
返回
此生成器,以便可以链接其他调用。