New (XmlDoc constructor)

From m204wiki
Revision as of 12:10, 27 April 2011 by Goff (talk | contribs) (edits, tags and links)
Jump to navigation Jump to search

Create a new XmlDoc object (XmlDoc class)

New creates an XmlDoc object instance and takes no arguments.

Syntax

%doc = [%(XmlDoc):]New

Syntax terms

%doc A declared XmlDoc object variable to contain the new XmlDoc object instance.

Usage notes

  • New can be invoked with no object (as in the syntax box above), or alternatively as shown below, with an explicit class name or with an object variable (even if that object is null):

    %xmldoc = %(XmlDoc):new

  • An XmlDoc can only be instantiated by either the New method or by making a copy of an existing XmlDoc via the Copy or DeepCopy methods.

See also