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