# Javascript: TableOfContentsEventArgs.tableOfContents Property

> The table of contents' information.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 29.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: TableOfContentsEventArgs.tableOfContents Property
- **171 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tableofcontentseventargs/tableofcontents-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tableofcontentseventargs/tableofcontents-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tableofcontentseventargs/tableofcontents-property/llms-full.txt

---

### Description

The table of contents' information.

### Syntax

```javascript
<TableOfContentsInfo> TableOfContentsEventArgs.tableOfContents
```

### Examples

The following example demonstrates `TableOfContentsEventArgs.tableOfContents` in a practical document-editing workflow. The table of contents' information.

```javascript
function inspectTableOfContents(tableOfContentsEventArgs) {
    const tableOfContents = tableOfContentsEventArgs.tableOfContents;
    console.log("table of contents:", tableOfContents);
}
```

---

## Nearby

- **Previous:** [TableOfContentsEventArgs Object](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tableofcontentseventargs/llms-full.txt)
- **Next:** [TableOfContentsInfo Object](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tableofcontentsinfo/llms-full.txt)
