NamespaceHandling 枚举
定义
指定是否在 XmlWriter 中移除重复的命名空间声明。Specifies whether to remove duplicate namespace declarations in the XmlWriter.
此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。
public enum class NamespaceHandling
[System.Flags]
public enum NamespaceHandling
type NamespaceHandling =
Public Enum NamespaceHandling
- 继承
- 属性
字段
Default | 0 | 指定将不移除重复的命名空间声明。Specifies that duplicate namespace declarations will not be removed. |
OmitDuplicates | 1 | 指定将移除重复的命名空间声明。Specifies that duplicate namespace declarations will be removed. 对于要移除的重复命名空间,前缀和命名空间必须匹配。For the duplicate namespace to be removed, the prefix and the namespace must match. |
注解
枚举有一个FlagsAttribute允许其成员值的按位组合的属性。 NamespaceHandlingThe NamespaceHandling enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.