NamespaceHandling Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies whether to remove duplicate namespace declarations in the XmlWriter.
This enumeration supports a bitwise combination of its member values.
public enum class NamespaceHandling
[System.Flags]
public enum NamespaceHandling
[<System.Flags>]
type NamespaceHandling =
Public Enum NamespaceHandling
- Inheritance
- Attributes
Fields
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. |
Remarks
The NamespaceHandling enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Applies to
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделе:Отправить и просмотреть отзыв по