# HyphenationListCollection Class

> An instance of the HyphenationListCollection class contains all objects of type HyphenationList that can be used to create hyphenations. It is inherited from the abstract class System.Collections.CollectionBase and implements the System.Collections.IEnumerable and System.Collections.IEnumerator interfaces. For a list of properties, methods and events of these classes and interfaces see the .NET Framework reference.

- **Product:** TX Spell .NET for WPF
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 4.0
- **Namespace:** `TXTextControl.Proofing`
- **Package:** `TXTextControl.TXSpell.WPF.SDK` (assembly `TXSpell.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TXSpell.Core.SDK` (assembly `TXSpell.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXSpell.dll` from the setup
- **Inherits:** `System.Collections.CollectionBase`
- **Implements:** `System.Collections.IEnumerable`, `System.Collections.IEnumerator`
- **Path:** TX Spell .NET for WPF > Reference > TXTextControl.Proofing > HyphenationListCollection Class
- **817 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/hyphenationlistcollection/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/hyphenationlistcollection/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/hyphenationlistcollection/llms-full.txt

---

### Description

An instance of the HyphenationListCollection class contains all objects of type [HyphenationList](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/hyphenationlist/llms-full.txt) that can be used to create hyphenations. It is inherited from the abstract class `System.Collections.CollectionBase` and implements the `System.Collections.IEnumerable` and `System.Collections.IEnumerator` interfaces. For a list of properties, methods and events of these classes and interfaces see the .NET Framework reference.

### Syntax

```csharp
public sealed class HyphenationListCollection : CollectionBase, IEnumerable, IEnumerator
```

```vbnet
Public NotInheritable Class HyphenationListCollection
    Inherits CollectionBase
    Implements IEnumerable, IEnumerator
```

### Examples

The following example includes the current value from a Hyphenation List Collection object in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Current: {hyphenationListCollection.Current}");
Console.WriteLine("Hyphenation List Collection is ready for use.");
```

```vbnet
Console.WriteLine($"Current: {hyphenationListCollection.Current}")
Console.WriteLine("Hyphenation List Collection is ready for use.")
```

---

## In This Section

- [HyphenationListCollection.Add Method](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/hyphenationlistcollection/add-method/llms-full.txt): Adds objects of the type HyphenationList to the collection.
- [HyphenationListCollection.GetItem Method](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/hyphenationlistcollection/getitem-method/llms-full.txt): Gets a particular HyphenationList from the collection by using the specified name.
- [HyphenationListCollection.Item Method](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/hyphenationlistcollection/item-method/llms-full.txt): Gets an object of type HyphenationList from the collection. This property is the indexer for the HyphenationListCollection class.
- [HyphenationListCollection.Remove Method](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/hyphenationlistcollection/remove-method/llms-full.txt): Removes objects of the type HyphenationList from the collection.

---

## Nearby

- **Previous:** [HyphenationList.UseOnlyCompoundHyphenationPoints Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/hyphenationlist/useonlycompoundhyphenationpoints-property/llms-full.txt)
- **Next:** [HyphenationListCollection.Add Method](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/hyphenationlistcollection/add-method/llms-full.txt)
