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
'宣言
Public Sub RemoveNamespaceDeclaration ( _
prefix As String _
)
'使用
Dim instance As OpenXmlElement
Dim prefix As String
instance.RemoveNamespaceDeclaration(prefix)
public void RemoveNamespaceDeclaration(
string prefix
)
Parameters
- prefix
Type: System.String