Share via


SRSReportParameter.clone Method [AX 2012]

Creates a new SRSReportParameter object that is based on the current instance.

Syntax

public SRSReportParameter clone()

Run On

Called

Return Value

Type: SRSReportParameter Class
A clone of the current SrsReportParameter object.

Remarks

This method is important because the SrsReportProviderMetadata class is cached for performance. Hence, at runtime, to work with the report parameter, we must clone to get a new instance for each report.Cloning will be easier than creating new metadata.

See Also

Reference

SRSReportParameter Class