Report.new Method

Initializes a new instance of the TreeNode class.

Syntax

public void new([anytype nameOrContainer, anytype container])

Run On

Called

Parameters

Remarks

The parameter format is as follows:

  • () – Creates a report object that is not present in the AOT.

  • (c) – Creates a report object that is not present in the AOT, the contents of which are given by the container c.

  • ("existingReportName") – Retrieves a report object that is found in the AOT.

  • ("nonExistingReportName") – Creates a report object in the AOT.

  • ("nonExistingReportName", c) – Creates a report object in the AOT, the contents of which are given by the container c.

The container c should be created by the pack method.

See Also

Report Class

Report.pack Method