Removes an XML element from an XML document.
public bool Remove(int index);
Public Function Remove(ByVal index As Integer) As Boolean
Parameter | Description |
---|---|
index | Specifies the one-based index of the XML element in the collection. If this parameter is zero, the element at the current input position is removed. |
The return value is false, if the element could not be removed because the document becomes invalid according to the document's DTD. In this case an Xml