Compartir a través de


OpenXmlElement.Remove Method

Removes this element from its parent.

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

Syntax

'Declaración
Public Sub Remove
'Uso
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