OpenXmlElement.AddNamespaceDeclaration(String, String) Method
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.
Adds a namespace declaration to the current node.
public void AddNamespaceDeclaration (string prefix, string uri);
member this.AddNamespaceDeclaration : string * string -> unit
Public Sub AddNamespaceDeclaration (prefix As String, uri As String)
Parameters
- prefix
- String
The prefix.
- uri
- String
The uri.
Exceptions
Thrown if the prefix is already used in the current node.
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla