# ExcelCommentInfo

Immutable worksheet comment metadata.

Class 

`OfficeIMO.Excel`

**Namespace**

`OfficeIMO.Excel`

**Assembly**

`OfficeIMO.Excel`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[ExcelSheet.Comments.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelSheet.Comments.cs#L25)

**Modifiers**

sealed

Immutable worksheet comment metadata.

## Inheritance

- object
- ExcelCommentInfo

## 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.

### Returned or exposed by 2

- Method [ExcelSheet.FindComments](/api/excel/officeimo-excel-excelsheet/#method-findcomments-officeimo-excel-excelcommentfilter)
- Method [ExcelSheet.GetComments](/api/excel/officeimo-excel-excelsheet/#method-getcomments)

Filter members 

Show inherited

## 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?`

## Properties

`public string CellReference { get; }` [#](#property-cellreference)

[ExcelSheet.Comments.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelSheet.Comments.cs#L25)

A1 cell reference where the comment is attached.

`public int Row { get; }` [#](#property-row)

[ExcelSheet.Comments.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelSheet.Comments.cs#L28)

1-based row index where the comment is attached.

`public int Column { get; }` [#](#property-column)

[ExcelSheet.Comments.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelSheet.Comments.cs#L31)

1-based column index where the comment is attached.

`public string? Author { get; }` [#](#property-author)

[ExcelSheet.Comments.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelSheet.Comments.cs#L34)

Comment author display name, when available.

`public string Text { get; }` [#](#property-text)

[ExcelSheet.Comments.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelSheet.Comments.cs#L37)

Comment text content.

`public IReadOnlyList<ExcelRichTextRun> RichTextRuns { get; }` [#](#property-richtextruns)

[ExcelSheet.Comments.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelSheet.Comments.cs#L40)

Rich text runs stored in the legacy comment text.

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