Copy (XmlDoc function)

From m204wiki
Revision as of 02:20, 23 January 2011 by Alex (talk | contribs) (→‎Usage notes)
Jump to navigation Jump to search

Copy this XmlDoc (XmlDoc class)

Copy is a member of the XmlDoc class.

This method returns an exact copy of the method XmlDoc object. It is identical to the XmlDoc DeepCopy method.

Since XmlDoc objects are relatively simple, that is, they contain no other objects, they are always copyable and deep copyable, as described in Copying objects.

Syntax

%outDoc = doc:Copy

Syntax terms

%object An XmlDoc object variable to contain the copy of doc.
doc An XmlDoc object expression.

Usage notes

  • The method object (doc) may be null. The output of a copy of a null object is a null object.