Partager via


OpenXmlElement.RemoveNamespaceDeclaration Method

Removes namespace declaration for a specific prefix. do nothing if the prefix is not existed.

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

Syntax

'Declaration
Public Sub RemoveNamespaceDeclaration ( _
    prefix As String _
)
'Usage
Dim instance As OpenXmlElement
Dim prefix As String

instance.RemoveNamespaceDeclaration(prefix)
public void RemoveNamespaceDeclaration(
    string prefix
)

Parameters

See Also

Reference

OpenXmlElement Class

OpenXmlElement Members

DocumentFormat.OpenXml Namespace