DeepDiscard (XmlNode subroutine)

From m204wiki
Revision as of 18:52, 1 September 2015 by ELowell (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Do deep discard of an XmlNode object (XmlNode class)

[Introduced in Sirius Mods 8.0]

Although a generic Discard of an XmlNode is not allowed, you can use the DeepDiscard method to explicitly discard an XmlNode object.

Note: DeepDiscard explicitly discards the method object as well as the XmlDoc object with which it is associated.



Syntax terms

nod An XmlNode object, which may be Null.

Usage notes

  • Unlike an XmlNode, you can both Discard and DeepDiscard an XmlNodelist; the former discards only the nodelist; the latter discards both the nodelist and the container XmlDoc.

See also