• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class MergeResult

Describes the outcome of a MergeFrom(IEnumerable<Workbook>, MergeOptions) operation.

Inheritance
object
MergeResult
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class MergeResult

Constructors

MergeResult(IReadOnlyList<string>, IReadOnlyList<string>, IReadOnlyList<string>)

Initializes a new instance of the MergeResult class.

Declaration
public MergeResult(IReadOnlyList<string> copiedSheets, IReadOnlyList<string> skippedSheets, IReadOnlyList<string> replacedSheets)
Parameters
Type Name Description
IReadOnlyList<string> copiedSheets

The names of the worksheets copied into the target, in copy order.

IReadOnlyList<string> skippedSheets

The names of source sheets skipped due to name conflicts (Skip mode only).

IReadOnlyList<string> replacedSheets

The names of target sheets that were replaced (Overwrite mode only).

Properties

CopiedSheetCount

Gets the number of worksheets copied into the target.

Declaration
public int CopiedSheetCount { get; }
Property Value
Type Description
int

CopiedSheets

Gets the names of the worksheets copied into the target, in copy order.

Declaration
public IReadOnlyList<string> CopiedSheets { get; }
Property Value
Type Description
IReadOnlyList<string>

ReplacedSheets

Gets the names of target sheets that were replaced (Overwrite mode only).

Declaration
public IReadOnlyList<string> ReplacedSheets { get; }
Property Value
Type Description
IReadOnlyList<string>

SkippedSheets

Gets the names of source sheets skipped due to name conflicts (Skip mode only).

Declaration
public IReadOnlyList<string> SkippedSheets { get; }
Property Value
Type Description
IReadOnlyList<string>
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX