XmlNamespaceManager Data Type
Version: Available or changed with runtime version 1.0.
Represents a namespace manager that can be used to resolve, add and remove namespaces to a collection. It also provides scope management for these namespaces.
Instance methods
The following methods are available on instances of the XmlNamespaceManager data type.
Method name | Description |
---|---|
AddNamespace(Text, Text) | Adds the given namespace to the collection. |
HasNamespace(Text) | Gets a value indicating whether the supplied prefix has a namespace defined for the current scope. |
LookupNamespace(Text, var Text) | Gets the namespace URI for the specified prefix. |
LookupPrefix(Text, var Text) | Finds the prefix declared for the given namespace URI. |
NameTable([XmlNameTable]) | Gets or sets the XmlNameTable associated with this object. |
PopScope() | Pops a namespace scope off the stack. |
PushScope() | Pushes a namespace scope onto the stack. |
RemoveNamespace(Text, Text) | Removes the given namespace for the given prefix. |
See Also
Commentaires
https://aka.ms/ContentUserFeedback.
Prochainement : Tout au long de l'année 2024, nous supprimerons progressivement les GitHub Issues en tant que mécanisme de retour d'information pour le contenu et nous les remplacerons par un nouveau système de retour d'information. Pour plus d’informations, voir:Soumettre et afficher des commentaires pour