Formatting 枚举

定义

指定 XmlTextWriter 的格式设置选项。Specifies formatting options for the XmlTextWriter.

public enum class Formatting
public enum Formatting
type Formatting = 
Public Enum Formatting
继承
Formatting

字段

Indented 1

使子元素根据 IndentationIndentChar 设置缩进。Causes child elements to be indented according to the Indentation and IndentChar settings.

此选项仅缩进元素内容;混合内容不受影响。This option indents element content only; mixed content is not affected. 有关这些术语的 XML 1.0 定义,请参阅万维网联合会 (W3C) 文档元素内容混合内容For the XML 1.0 definitions of these terms, see the World Wide Web Consortium (W3C) documentation Element Content and Mixed Content.

None 0

不应用特殊的格式设置。No special formatting is applied. 这是默认设置。This is the default.

适用于