Table of Contents

Method RemoveChild

Namespace
SharpVectors.Dom
Assembly
SharpVectors.Core.dll

RemoveChild(XmlNode)

Removes the child node indicated by oldChild from the list of children, and returns it.

XmlNode RemoveChild(XmlNode oldChild)

Parameters

oldChild XmlNode

node being removed.

Returns

XmlNode

The node removed.

Exceptions

DomException

NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.

NOT_FOUND_ERR: Raised if oldChild is not a child of this node.