OpenXmlElement.Remove Method

Removes this element from its parent.

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

Syntax

'Declaration
Public Sub Remove
'Usage
Dim instance As OpenXmlElement

instance.Remove()
public void Remove()

Exceptions

Exception Condition
InvalidOperationException

Thrown when the parent is a null reference.

See Also

Reference

OpenXmlElement Class

OpenXmlElement Members

DocumentFormat.OpenXml Namespace