DeepCopy (XmlDoc function): Difference between revisions
Jump to navigation
Jump to search
m (AllowNullObject methods) |
m (edits, tags and links) |
||
Line 1: | Line 1: | ||
{{Template:XmlDoc:DeepCopy subtitle}} | {{Template:XmlDoc:DeepCopy subtitle}} | ||
<var>DeepCopy</var> method returns an exact copy of the method <var>xmlDoc</var> object. It is identical to the <var>xmlDoc</var> <var>[[Copy (XmlDoc function)|Copy]]</var> method. | |||
Since <var>xmlDoc</var> objects are relatively simple, that is, they contain no other objects, they are always both [[Copying objects|"copyable and deep copyable"]]. | |||
Since <var>xmlDoc</var> objects are relatively simple, that is, they contain no other objects, they are always [[Copying objects|copyable and deep copyable]]. | |||
==Syntax== | ==Syntax== | ||
{{Template:XmlDoc:DeepCopy syntax}} | {{Template:XmlDoc:DeepCopy syntax}} | ||
Line 17: | Line 15: | ||
==Usage notes== | ==Usage notes== | ||
<ul> | <ul> | ||
<li>The method object (<var class="term">doc</var>) may be | <li>The method object (<var class="term">doc</var>) may be <var>Null</var>. The output of a copy of a <var>Null</var> object is a <var>Null</var> object. | ||
The output of a copy of a | |||
</ul> | </ul> | ||
==See also== | ==See also== | ||
{{Template:XmlDoc:DeepCopy footer}} | {{Template:XmlDoc:DeepCopy footer}} |
Revision as of 11:42, 27 April 2011
Deep copy this XmlDoc (XmlDoc class)
DeepCopy method returns an exact copy of the method xmlDoc object. It is identical to the xmlDoc Copy method.
Since xmlDoc objects are relatively simple, that is, they contain no other objects, they are always both "copyable and deep copyable".
Syntax
%outDoc = doc:DeepCopy
Syntax terms
%outDoc | An xmlDoc object variable to contain the copy of doc. |
---|---|
doc | An xmlDoc object expression, which may be Null. |
Usage notes
- The method object (doc) may be Null. The output of a copy of a Null object is a Null object.