# ExcelCommentFilterFluent

The fluent methods of ExcelCommentFilter, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.Excel`

**Namespace**

`OfficeIMO.Excel`

**Assembly**

`OfficeIMO.Excel`

**Modifiers**

static

The fluent methods of [ExcelCommentFilter](/api/excel/officeimo-excel-excelcommentfilter/), 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
- ExcelCommentFilterFluent

Filter members 

Show inherited

## Methods

`public static ExcelCommentFilter A1Range(ExcelCommentFilter excelCommentFilter, string? value)` [#](#method-a1range-officeimo-excel-excelcommentfilter-string)

Sets [ExcelCommentFilter.A1Range](/api/excel/officeimo-excel-excelcommentfilter/): Only match comments attached to cells inside this A1 cell or range.

Parameters

**excelCommentFilter OfficeIMO.Excel.ExcelCommentFilter required**

The instance.

**value string? required**

The value.

Returns

`ExcelCommentFilter` The same instance.

Examples

```csharp
// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Excel.ExcelCommentFilter { A1Range = value };    excelCommentFilter.A1Range(value);
```

`public static ExcelCommentFilter Author(ExcelCommentFilter excelCommentFilter, string? value)` [#](#method-author-officeimo-excel-excelcommentfilter-string)

Sets [ExcelCommentFilter.Author](/api/excel/officeimo-excel-excelcommentfilter/): Only match comments whose author equals this value, ignoring case.

Parameters

**excelCommentFilter OfficeIMO.Excel.ExcelCommentFilter required**

The instance.

**value string? required**

The value.

Returns

`ExcelCommentFilter` The same instance.

Examples

```csharp
// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Excel.ExcelCommentFilter { Author = value };    excelCommentFilter.Author(value);
```

`public static ExcelCommentFilter TextContains(ExcelCommentFilter excelCommentFilter, string? value)` [#](#method-textcontains-officeimo-excel-excelcommentfilter-string)

Sets [ExcelCommentFilter.TextContains](/api/excel/officeimo-excel-excelcommentfilter/): Only match comments whose text contains this value, ignoring case.

Parameters

**excelCommentFilter OfficeIMO.Excel.ExcelCommentFilter required**

The instance.

**value string? required**

The value.

Returns

`ExcelCommentFilter` The same instance.

Examples

```csharp
// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Excel.ExcelCommentFilter { TextContains = value };    excelCommentFilter.TextContains(value);
```

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:CDD154BBE6A1835FCC153D142A2BB194CE817DB8EFFB70B838B96C0FDCB18829 -->
