OpenXmlElement.RemoveNamespaceDeclaration method

Office 2013 and later

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

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public void RemoveNamespaceDeclaration(
	string prefix
)

Parameters

prefix
Type: System.String
Show: