 | ReportCopyToFileOrFileStream Method (ReportEnvironment, String, Stream) |
Note: This API is now obsolete.
Copies a XML or zipped XML report file and all the external files referenced by the report file to a file or stream.
This method automatically handles copying from and to zipped and unzipped report files.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax[ObsoleteAttribute("Use Report.Copy(ReportEnvironment reportEnvironment, string destinationReportFileName)")]
public static void CopyToFileOrFileStream(
ReportEnvironment reportEnvironment,
string destinationReportFileName,
Stream fileStream
)<ObsoleteAttribute("Use Report.Copy(ReportEnvironment reportEnvironment, string destinationReportFileName)")>
Public Shared Sub CopyToFileOrFileStream (
reportEnvironment As ReportEnvironment,
destinationReportFileName As String,
fileStream As Stream
)Parameters
- reportEnvironment
- Type: Ranorex.Core.ReportingReportEnvironment
Current report environment. - destinationReportFileName
- Type: SystemString
Full path to copy the report file to. - fileStream
- Type: System.IOStream
The file stream to write to or null.
Remarks
Make sure the report is saved first to copy all files. Only currently existing files are copied.
See Also