System::Xml::XmlWriterSettings::get_IndentChars 方法

XmlWriterSettings::get_IndentChars method

返回用于缩进的字符字符串。当 XmlWriterSettings::set_Indent 的值设为 true 时使用此设置。

String System::Xml::XmlWriterSettings::get_IndentChars()

ReturnValue

用于缩进的字符字符串。它可以设置为任意字符串值。但为确保 XML 有效,您应仅指定有效的空白字符,例如空格、制表符、回车或换行。默认是两个空格。

另见