OpenXmlElement.RemoveNamespaceDeclaration(String) Method

Definition

Removes the namespace declaration for the specified prefix. Removes nothing if there is no prefix.

public void RemoveNamespaceDeclaration (string prefix);
member this.RemoveNamespaceDeclaration : string -> unit
Public Sub RemoveNamespaceDeclaration (prefix As String)

Parameters

prefix
String

Applies to