Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelRangeDifference

OfficeIMO.Excel

Namespace
OfficeIMO.Excel
Assembly
OfficeIMO.Excel
Source revision
273d35d5ba8a with working tree changes
Modifiers
sealed

Represents a single cell-level difference between two worksheet ranges.

Inheritance

  • object
  • ExcelRangeDifference

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Constructors

public ExcelRangeDifference(ExcelRangeDifferenceKind kind, int leftRow, int leftColumn, int rightRow, int rightColumn, string leftCell, string rightCell, object? leftValue, object? rightValue) #

Creates a range difference.

Parameters

kind OfficeIMO.Excel.ExcelRangeDifferenceKind required
leftRow int required
leftColumn int required
rightRow int required
rightColumn int required
leftCell string required
rightCell string required
leftValue object? required
rightValue object? required

Properties

public ExcelRangeDifferenceKind Kind { get; } #

Difference kind.

public int LeftRow { get; } #

1-based row in the left range.

public int LeftColumn { get; } #

1-based column in the left range.

public int RightRow { get; } #

1-based row in the right range.

public int RightColumn { get; } #

1-based column in the right range.

public string LeftCell { get; } #

A1 cell reference in the left worksheet.

public string RightCell { get; } #

A1 cell reference in the right worksheet.

public object? LeftValue { get; } #

Value from the left worksheet.

public object? RightValue { get; } #

Value from the right worksheet.