OpenXmlElement.Remove Method
Removes this element from its parent.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
Public Sub Remove
用法
Dim instance As OpenXmlElement
instance.Remove()
public void Remove()
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the parent is a null reference. |