XMLNode.RemoveChild Method
Word Developer Reference |
Removes a child element from the specified element.
Syntax
expression.RemoveChild(ChildElement)
expression An expression that returns an XMLNode object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
ChildElement | Required | XMLNode | The child element to be removed. |
Return Value
Nothing
Example
The following example removes the first child from the first element in the active document.
Visual Basic for Applications |
---|
|
See Also