combit List & Label 29 - .NET Help
combit.Reporting Namespace / PreviewFile Class / Append Method


In This Topic
    Append Method
    In This Topic

    You can append several preview files. In order to do this, you must first open the destination file. Since a write access is required, you must pass the second parameter, ReadOnly, as false. Subsequently, you can pass the file name of the file to be added to the Append method. Alternatively, you can also assign a handle to a preview file in the memory or to another instance of the PreviewFile.

    Overload List
    OverloadDescription
     
     
     
    Remarks
    As you need write access, the file has to be opened with the corresponding option.
    Example
    ...
    PreviewFile sf = new PreviewFile(@"c:\temp\test.ll", false);
    sf.Append(new PreviewFile(@"c:\temp\test2.ll"));
    sf.Close();
    ... 
    
    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also