DeepDiscard (XmlNode subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Template:XmlNode:DeepDiscard subtitle}}
{{Template:XmlNode:DeepDiscard subtitle}}
Although a generic <var>[[Object variables#Discarding explicitly|Discard]]</var> of an <var>XmlNode</var> is not allowed, you can use the <var>DeepDiscard</var> method to explicitly discard an <var>XmlNode</var> object.
<p>'''Note:''' <var>DeepDiscard</var> explicitly discards the method object as well as the <var>[[XmlDoc class|XmlDoc]]</var> object with which it is associated.</p>


This page is [[under construction]]
==Syntax==
==Syntax==
{{Template:XmlNode:DeepDiscard syntax}}
{{Template:XmlNode:DeepDiscard syntax}}
Line 7: Line 8:
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>nod</th>
<tr><th>nod</th>
<td>XmlNode object, which may be <var>Null</var></td></tr>
<td>An <var>XmlNode</var> object, which may be <var>Null</var>. </td></tr>
</table>
</table>
==Usage notes==
==Usage notes==
==Examples==
<ul>
<li>Unlike an <var>XmlNode</var>, you can both <var>Discard</var> and <var>DeepDiscard</var> an <var>XmlNodelist</var>; the former discards only the nodelist; the latter discards both the nodelist and the container <var>XmlDoc</var>.
</ul>
 
==See also==
==See also==
{{Template:XmlNode:DeepDiscard footer}}
{{Template:XmlNode:DeepDiscard footer}}

Latest revision as of 18:52, 1 September 2015

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

nod:DeepDiscard

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