Formatting 列舉

定義

指定 XmlTextWriter的格式設定選項。

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

欄位

名稱 Description
None 0

沒有特別的格式。 此為預設值。

Indented 1

會根據 和 Indentation 設定讓子元素縮排IndentChar

此選項僅縮排元素內容;混合內容則不受影響。 關於這些術語的 XML 1.0 定義,請參閱萬維網聯盟(W3C)文件中的 元素內容混合內容

適用於