# WordTableOfContentEntry

Describes a generated table-of-contents entry.

Class 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Source revision**

`089f66d6d97a` with working tree changes

**Source**

[WordTableOfContentRefreshReport.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/089f66d6d97a67726fd541e10d95d86d5929ec69/OfficeIMO.Word/WordTableOfContentRefreshReport.cs#L14)

**Modifiers**

sealed

Describes a generated table-of-contents entry.

## Inheritance

- object
- WordTableOfContentEntry

## Usage

Explore 1 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 1

- Property [WordTableOfContentRefreshReport.Entries](/api/word/officeimo-word-wordtableofcontentrefreshreport/#property-entries)

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 Text { get; }` [#](#property-text)

[WordTableOfContentRefreshReport.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/089f66d6d97a67726fd541e10d95d86d5929ec69/OfficeIMO.Word/WordTableOfContentRefreshReport.cs#L14)

Gets the heading text used for the TOC entry.

`public int Level { get; }` [#](#property-level)

[WordTableOfContentRefreshReport.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/089f66d6d97a67726fd541e10d95d86d5929ec69/OfficeIMO.Word/WordTableOfContentRefreshReport.cs#L17)

Gets the heading level from 1 to 9.

`public int PageNumber { get; }` [#](#property-pagenumber)

[WordTableOfContentRefreshReport.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/089f66d6d97a67726fd541e10d95d86d5929ec69/OfficeIMO.Word/WordTableOfContentRefreshReport.cs#L20)

Gets the page number estimated from explicit page breaks.

`public string BookmarkName { get; }` [#](#property-bookmarkname)

[WordTableOfContentRefreshReport.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/089f66d6d97a67726fd541e10d95d86d5929ec69/OfficeIMO.Word/WordTableOfContentRefreshReport.cs#L23)

Gets the bookmark anchor used by the generated internal hyperlink.

<!-- PowerForge markdown artifact sha256:907EB4AE473B11A7EAF7EB69BF320078C4D8EDC7180DBD6A6DC7A2DBE16A5785 -->
