OpenXmlElement.AddNamespaceDeclaration(String, String) OpenXmlElement.AddNamespaceDeclaration(String, String) OpenXmlElement.AddNamespaceDeclaration(String, String) Method

Definition

Adds a namepace 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 String String

The Prefix

uri
String String String

The Uri

Exceptions

Applies to