# Javascript: UserDictionaryInfo.length Property

> The number of words the user dictionary contains.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 25.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: UserDictionaryInfo.length Property
- **156 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/userdictionaryinfo/length-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/userdictionaryinfo/length-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/userdictionaryinfo/length-property/llms-full.txt

---

### Description

The number of words the user dictionary contains.

### Syntax

```javascript
<number> UserDictionaryInfo.length
```

### Examples

The following example demonstrates `UserDictionaryInfo.length` in a practical document-editing workflow. The number of words the user dictionary contains.

```javascript
function inspectLength(userDictionaryInfo) {
    const length = userDictionaryInfo.length;
    console.log("length:", length);
}
```

---

## Nearby

- **Previous:** [Javascript: UserDictionaryInfo.language Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/userdictionaryinfo/language-property/llms-full.txt)
- **Next:** [Javascript: UserDictionaryInfo.name Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/userdictionaryinfo/name-property/llms-full.txt)
