Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelRangeCompareOptionsFluent

OfficeIMO.Excel

Namespace
OfficeIMO.Excel
Assembly
OfficeIMO.Excel
Modifiers
static

The fluent methods of ExcelRangeCompareOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • ExcelRangeCompareOptionsFluent

Methods

public static ExcelRangeCompareOptions IgnoreCase(ExcelRangeCompareOptions excelRangeCompareOptions, bool value = true) #

Sets ExcelRangeCompareOptions.IgnoreCase: Compares string values using ordinal case-insensitive comparison.

Parameters

excelRangeCompareOptions OfficeIMO.Excel.ExcelRangeCompareOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelRangeCompareOptions The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Excel.ExcelRangeCompareOptions { IgnoreCase = value };    excelRangeCompareOptions.IgnoreCase(value);
public static ExcelRangeCompareOptions TreatNullAndEmptyStringAsEqual(ExcelRangeCompareOptions excelRangeCompareOptions, bool value = true) #

Sets ExcelRangeCompareOptions.TreatNullAndEmptyStringAsEqual: Treats null values and empty strings as equal. Enabled by default to match common reporting expectations.

Parameters

excelRangeCompareOptions OfficeIMO.Excel.ExcelRangeCompareOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelRangeCompareOptions The same instance.

Examples

// C# initializer or property                                                                       // C# fluent
new global::OfficeIMO.Excel.ExcelRangeCompareOptions { TreatNullAndEmptyStringAsEqual = value };    excelRangeCompareOptions.TreatNullAndEmptyStringAsEqual(value);
public static ExcelRangeCompareOptions TrimStrings(ExcelRangeCompareOptions excelRangeCompareOptions, bool value = true) #

Sets ExcelRangeCompareOptions.TrimStrings: Trims string values before comparing.

Parameters

excelRangeCompareOptions OfficeIMO.Excel.ExcelRangeCompareOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelRangeCompareOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Excel.ExcelRangeCompareOptions { TrimStrings = value };    excelRangeCompareOptions.TrimStrings(value);