Class
ExcelRangeCompareOptionsFluent
OfficeIMO.Excel
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
- The instance.
- value bool = true
- The value; true when omitted.
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
- The instance.
- value bool = true
- The value; true when omitted.
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
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelRangeCompareOptions { TrimStrings = value }; excelRangeCompareOptions.TrimStrings(value);